Change all hostname calls for $HOST or $SHORT_HOST

This commit is contained in:
Marc Cornellà 2014-10-09 17:05:48 +02:00
commit 95d795e8ca
8 changed files with 8 additions and 8 deletions

View file

@ -13,7 +13,7 @@ patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset
}
function box_name {
[ -f ~/.box-name ] && cat ~/.box-name || hostname -s
[ -f ~/.box-name ] && cat ~/.box-name || echo $SHORT_HOST || echo $HOST
}
PROMPT='