summaryrefslogtreecommitdiff
path: root/.bashrc
blob: b13facd355697e5a7a517bfa8f44126196e0bfae (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
source ~/.shells/alias.sh
source ~/.shells/exports.sh
#source ~/dotfiles/.shells/bash_completion 
export PATH=/home/$USER/.local/bin:$PATH


## Get completions
for sh in /etc/bash/bashrc.d/* ; do
	[[ -r ${sh} ]] && source "${sh}"
done

## Prompt
if ${use_color} ; then
    PS1='\n\[\e[38;5;226m\]\w \[\e[38;5;63;1m\]$(git branch 2>/dev/null | grep '"'"'*'"'"' | colrm 1 2)\n\[\e[0;38;5;198m\]λ \[\e[0m\]'
else
    PS1+='\u@\h \w \$ '
fi     

## eat integration
# [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \
#     source "$EAT_SHELL_INTEGRATION_DIR/bash"

## doas > sudo
complete -cf doas