diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-30 17:22:07 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-30 17:22:07 +0200 |
commit | aa1be716a066f003832efb36748d71c2e073418d (patch) | |
tree | eb34720959dd92286753c93b15c25190b4c3b158 /etc | |
parent | 23e83c2189bb53590a4756c79fbc78c16bb606e3 (diff) | |
download | lbsd-aa1be716a066f003832efb36748d71c2e073418d.tar.gz |
shrc: Fix prompt on wscons
Diffstat (limited to 'etc')
-rw-r--r-- | etc/shrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8,7 +8,10 @@ case "$-" in *i*) if /bin/test -z "${HOST}"; then HOST="$(hostname)" fi - PS1='
]2;$PWD'${HOST%%.*}$PS1 + case "$TERM" in + x*) PS1='
]2;$PWD'${HOST%%.*}$PS1 ;; + *) PS1=${HOST%%.*}$PS1 ;; + esac set -o emacs # This file is used by shells that might not support # set -o tabcomplete, so check before trying to use it. |