1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-04-30 18:23:29 +02:00

Change all hostname calls for $HOST or $SHORT_HOST

This commit is contained in:
Marc Cornellà
2014-10-09 17:05:48 +02:00
parent 4310a15de5
commit 95d795e8ca
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function prompt_char {
}
function box_name {
[ -f ~/.box-name ] && cat ~/.box-name || hostname -s
[ -f ~/.box-name ] && cat ~/.box-name || echo $SHORT_HOST || echo $HOST
}
local ruby_env=''