mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 01:03:35 +01:00
[bash] remove hosts from hostname colouring
This commit is contained in:
parent
7edec3a7a7
commit
12f86b412b
1 changed files with 1 additions and 8 deletions
|
@ -58,18 +58,11 @@ function __colored_hostname() {
|
||||||
local PS1
|
local PS1
|
||||||
|
|
||||||
if color ; then
|
if color ; then
|
||||||
case "${HOSTNAME%%.*}" in
|
case "${HOST%%.*}" in
|
||||||
'esson') PS1+="${IGre}\h${RCol}";;
|
|
||||||
'tinsmith') PS1+="${Gre}\h${RCol}";;
|
|
||||||
'blacksmith') PS1+="${Blu}\h${RCol}";;
|
|
||||||
'locksmith') PS1+="${Pur}\h${RCol}";;
|
'locksmith') PS1+="${Pur}\h${RCol}";;
|
||||||
'bladesmith') PS1+="${Yel}\h${RCol}";;
|
'bladesmith') PS1+="${Yel}\h${RCol}";;
|
||||||
'gunsmith') PS1+="${Red}\h${RCol}";;
|
'gunsmith') PS1+="${Red}\h${RCol}";;
|
||||||
'goldsmith') PS1+="${IYel}\h${RCol}";;
|
'goldsmith') PS1+="${IYel}\h${RCol}";;
|
||||||
'lilo'*) PS1+="${BWhi}\h${RCol}";;
|
|
||||||
'hg'*) PS1+="${BRed}\h${RCol}";;
|
|
||||||
'gouda'|'bunnik'|'houten'|'zandberg'|'bussum'|'baarn') PS1+="${Gre}${On_Whi}HEF:${Blu}${On_Whi}\h${RCol}";;
|
|
||||||
'messier'*) PS1+="${Blu}Astro:${Red}\h${RCol}";;
|
|
||||||
*) PS1+="${Blu}${On_Whi}\h${RCol}";;
|
*) PS1+="${Blu}${On_Whi}\h${RCol}";;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue