diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-07 19:57:31 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-07 19:57:31 +0200 |
commit | dde1a234a6a2cd58b0173b1ed0ed1b199e74a63b (patch) | |
tree | 139ba432c9a1d8e0a4bdfa54b977657077d60c10 /etc | |
parent | 995b49b4dbc8a0cb03ae0ceb1f0a6cddf2a65404 (diff) | |
download | lbsd-dde1a234a6a2cd58b0173b1ed0ed1b199e74a63b.tar.gz |
/etc/shrc: Remove dynamic title mechanism
It has been replaced by a more stable solution.
See http://git.ankarstrom.se/ksh/commit/?id=79dc7cad
and http://git.ankarstrom.se/x11/tterm/
Diffstat (limited to 'etc')
-rw-r--r-- | etc/shrc | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -16,20 +16,6 @@ case "$-" in *i*) esac /bin/test "$(whoami)" = root && PS1=$PS1'# ' || PS1=$PS1'$ ' - # dynamically change terminal title - case "$0,$TERM,$XTERM_SHELL" in - *ksh,screen,*) - PS1=$PS1'$(safetitle "$PWD")' ;; - *ksh,*,/*) - PS1=$PS1']0;$PWD' ;; - *bash,screen,/*) - PROMPT_COMMAND='safetitle "${PWD/#\/home\/john/\~}"' ;; - *bash,*,/*) - PS1='\[\033]0;\w\007\]'$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 |