Support short username in xterm title plugin

This commit is contained in:
Álvaro Brey
2017-04-21 12:48:31 +02:00
parent 438e3dadc0
commit f3d36d7a42
2 changed files with 7 additions and 2 deletions

View File

@@ -31,6 +31,11 @@ export SCM_CHECK=true
# Will otherwise fall back on $HOSTNAME.
#export SHORT_HOSTNAME=$(hostname -s)
# Set Xterm/screen/Tmux title with only a short username.
# Uncomment this (or set SHORT_USER to something else),
# Will otherwise fall back on $USER.
#export SHORT_USER=${USER:0:8}
# Set vcprompt executable path for scm advance info in prompt (demula theme)
# https://github.com/djl/vcprompt
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt