From 0ccefbc3407217d78f43386824aa6588898b6e21 Mon Sep 17 00:00:00 2001 From: "John Ankarstr\\xf6m" Date: Mon, 31 May 2021 19:58:21 +0200 Subject: shrc: Use safetitle See http://git.ankarstrom.se/safetitle/ --- etc/shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/shrc') 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 -- cgit v1.2.3