blob: afc481c53a079775438358bab535ea56eb2d134c (
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
26
27
28
29
|
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
for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"
done
## 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
|