support short hostnames in xterm title

This commit is contained in:
Ira Abramov
2016-11-06 13:44:49 +02:00
parent 62eb23f302
commit 2a0700d700
2 changed files with 7 additions and 2 deletions

View File

@@ -26,6 +26,11 @@ export TODO="t"
# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true
# Set Xterm/screen/Tmux title with only a short hostname.
# Comment this (or unset SHORT_HOSTNAME) to fall back on $HOSTNAME.
export SHORT_HOSTNAME=$(hostname -s)
# Set vcprompt executable path for scm advance info in prompt (demula theme)
# https://github.com/djl/vcprompt
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt