aboutsummaryrefslogtreecommitdiff
path: root/etc/shrc
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-31 19:58:21 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-31 19:58:21 +0200
commit0ccefbc3407217d78f43386824aa6588898b6e21 (patch)
tree49b90a7674928bcf1c75eb7e4d83095e12ac63a5 /etc/shrc
parentd24d49f9a07ed3742e1c304eec740155f99dec75 (diff)
downloadlbsd-0ccefbc3407217d78f43386824aa6588898b6e21.tar.gz
shrc: Use safetitle
See http://git.ankarstrom.se/safetitle/
Diffstat (limited to 'etc/shrc')
-rw-r--r--etc/shrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/shrc b/etc/shrc
index 9a4b012..9d61efd 100644
--- a/etc/shrc
+++ b/etc/shrc
@@ -9,7 +9,7 @@ case "$-" in *i*)
# configure prompt
case "$0,$TERM,$XTERM_SHELL" in
- *ksh,screen,/*) PS1=' P]2;$PWD\\' ;;
+ *ksh,screen,*) PS1='$(safetitle "$PWD")' ;;
*ksh,*,/*) PS1=' ]0;$PWD' ;;
*) PS1= ;;
esac