blob: f7d8efd047722748fc73349f0546e445ef6921b2 (
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
25
|
source ~/.shells/alias.sh
source ~/.shells/exports.sh
source /etc/profile
export PATH=/home/$USER/.local/bin:$PATH
if [ -e /etc/profile.env ] ; then
. /etc/profile.env
fi
## 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
## doas > sudo
complete -cf doas
|