diff options
author | Robby Russell <robby@planetargon.com> | 2015-06-05 08:07:12 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-06-05 08:07:12 -0700 |
commit | 4224c2a1af2a1b99c14ef81012af321c39856cf5 (patch) | |
tree | c2a4481bedab6fda135cae8176d7d895100bc4d7 /themes/fino-time.zsh-theme | |
parent | 51e366e5462e6be7f7658c8285e6741531ede744 (diff) | |
parent | 8cf04ed3d7d5552bc2242a5987d46f6faf0fe2dc (diff) | |
download | zsh-4224c2a1af2a1b99c14ef81012af321c39856cf5.tar.gz zsh-4224c2a1af2a1b99c14ef81012af321c39856cf5.tar.bz2 zsh-4224c2a1af2a1b99c14ef81012af321c39856cf5.zip |
Merge pull request #3494 from AlexTalker/short-host
Fix echo nothing if $SHORT_HOST doesn't exist.
Diffstat (limited to 'themes/fino-time.zsh-theme')
-rw-r--r-- | themes/fino-time.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/fino-time.zsh-theme b/themes/fino-time.zsh-theme index 67b6b6e08..6e7e654ff 100644 --- a/themes/fino-time.zsh-theme +++ b/themes/fino-time.zsh-theme @@ -21,7 +21,7 @@ function prompt_char { } function box_name { - [ -f ~/.box-name ] && cat ~/.box-name || echo $SHORT_HOST || echo $HOST + [ -f ~/.box-name ] && cat ~/.box-name || echo ${SHORT_HOST:-HOST} } |