-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
52 lines (42 loc) · 1.08 KB
/
.bashrc
File metadata and controls
52 lines (42 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
if ! [[ "$PATH" =~ "$HOME/.runprompt/prompts" ]]; then
PATH="$HOME/.runprompt/prompts:$PATH"
fi
export PATH
# History (unlimited)
export HISTSIZE=-1
export HISTFILESIZE=-1
export HISTCONTROL=ignoreboth:erasedups
shopt -s histappend
# Shell options
shopt -s globstar
shopt -s checkwinsize
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
[ -f ~/.aliasrc ] && . ~/.aliasrc
export EDITOR="vim"
export TERM="xterm-256color"
# Auto-start Zellij
# if [[ -z "$ZELLIJ" ]] && command -v zellij &>/dev/null; then
# exec zellij attach -c
# fi
# opencode
export PATH=/var/home/rafa/.opencode/bin:$PATH
export PATH="$HOME/.npm-global/bin:$PATH"