diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-08 18:19:32 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-08 18:19:32 +0200 |
commit | cc977dbf6c89c095ca8991a95abba132412fa662 (patch) | |
tree | b9a534d424613e79f2260eb491c303537c5c4b96 | |
parent | 5e34abc770fe894b8ac5b010101d85ea58a0e24f (diff) | |
download | lbsd-cc977dbf6c89c095ca8991a95abba132412fa662.tar.gz |
/etc/shrc: Use safetitle in screen sessions
-rw-r--r-- | etc/shrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ case "$-" in *i*) esac /bin/test "$(whoami)" = root && PS1=$PS1'# ' || PS1=$PS1'$ ' + case "$TERM" in + screen*) PS1='$(safetitle "$PWD")'$PS1 ;; + esac + # This file is used by shells that might not support # set -o tabcomplete, so check before trying to use it. ( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete |