Support shortened command & dir name in xterm title plugin
This allows the user to see only last level of the current path (if dirname is longer than 8 chars), and only first word of the ongoing command line if it's longer than 8 chars.
This commit is contained in:
@@ -36,6 +36,10 @@ export SCM_CHECK=true
|
||||
# Will otherwise fall back on $USER.
|
||||
#export SHORT_USER=${USER:0:8}
|
||||
|
||||
# Set Xterm/screen/Tmux title with shortened command and directory.
|
||||
# Uncomment this to set.
|
||||
#export SHORT_TERM_LINE=true
|
||||
|
||||
# Set vcprompt executable path for scm advance info in prompt (demula theme)
|
||||
# https://github.com/djl/vcprompt
|
||||
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt
|
||||
|
||||
Reference in New Issue
Block a user