mirror of https://github.com/kastdeur/dotfiles.git
Compare commits
2 Commits
f7078d1b8a
...
1e5a82249e
Author | SHA1 | Date |
---|---|---|
Eric Teunis de Boone | 1e5a82249e | |
Eric Teunis de Boone | 959907eb89 |
|
@ -71,7 +71,6 @@ function __PS1_hostname() {
|
|||
case "${HOST%%.*}" in
|
||||
'locksmith') PS1+="${Pur}\h${RCol}";;
|
||||
'bladesmith') PS1+="${Yel}\h${RCol}";;
|
||||
'gunsmith') PS1+="${Red}\h${RCol}";;
|
||||
'goldsmith') PS1+="${IYel}\h${RCol}";;
|
||||
*) NOMATCH=1;;
|
||||
esac
|
||||
|
@ -82,7 +81,7 @@ function __PS1_hostname() {
|
|||
fi
|
||||
|
||||
# extended colouring
|
||||
if [ -z "${NOMATCH}" ]; then
|
||||
if [ -n "${NOMATCH}" ]; then
|
||||
PS1+="${NOMATCH}"
|
||||
# default colouring
|
||||
else
|
||||
|
|
|
@ -11,5 +11,8 @@ export XDG_CONFIG_HOME="$HOME/.config"
|
|||
# Always source a local profile
|
||||
[ -r "$HOME/.profile.local" ] && source "$HOME/.profile.local"
|
||||
|
||||
# Use the local(ly linked) profile.private
|
||||
[ -r "$HOME/.local/profile.private" ] && source "$HOME/.local/profile.private"
|
||||
|
||||
# Also check in .local for a profile
|
||||
[ -r "$HOME/.local/profile" ] && source "$HOME/.local/profile"
|
||||
|
|
Loading…
Reference in New Issue