mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-18 05:06:38 +02:00
Compare commits
No commits in common. "1e5a82249ee24ca1c42064d5e969640ef82abd4f" and "f7078d1b8af3d44525424c8c21919d8e2b3b0b7e" have entirely different histories.
1e5a82249e
...
f7078d1b8a
2 changed files with 2 additions and 4 deletions
|
@ -71,6 +71,7 @@ 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
|
||||
|
@ -81,7 +82,7 @@ function __PS1_hostname() {
|
|||
fi
|
||||
|
||||
# extended colouring
|
||||
if [ -n "${NOMATCH}" ]; then
|
||||
if [ -z "${NOMATCH}" ]; then
|
||||
PS1+="${NOMATCH}"
|
||||
# default colouring
|
||||
else
|
||||
|
|
|
@ -11,8 +11,5 @@ 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…
Add table
Add a link
Reference in a new issue