aboutsummaryrefslogtreecommitdiff
path: root/mkshrc
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2018-05-30 13:29:23 +0200
committerDuncaen <mail@duncano.de>2018-05-30 13:29:28 +0200
commit16fce29a2d099ad282c94eae67bb90d667187e24 (patch)
tree0cf348562427afe53be0babbb32b2bbeed457db9 /mkshrc
parent33ed82d7884d35bfef47811b2c16c8f63b7d9deb (diff)
downloaddotfiles-16fce29a2d099ad282c94eae67bb90d667187e24.tar.gz
mksh: dont set terminal window titles
Diffstat (limited to 'mkshrc')
-rw-r--r--mkshrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkshrc b/mkshrc
index 9838eee..baa2d0d 100644
--- a/mkshrc
+++ b/mkshrc
@@ -6,14 +6,13 @@
case "$TERM" in
xterm|screen|*256col*)
# ((e=$?)) && print "${|errno2str "$e"}" && e="?\001\e[0;31m$e\001\e[0m" || e=
- alias weechat='print "\033]0;weechat\a$d$s$e$i " && weechat'
PS1=$'\001\r''$(\
((e=$?)) && e="?\001\e[0;31m$e\001\e[0m" || e=
d=${PWD/$HOME/\~}; d=${d##*/};\
[ "$SSH_CONNECTION" ] && s="@${HOSTNAME:=$(hostname)}" || s=;\
i=\#; ((USER_ID)) && i=\$;\
i1=\#; ((USER_ID)) && i1="\001\e[0;32m\$\001\e[0m";\
-\print -n "\033k$d$s$i\033\\"; \print "$d$s$e$i1") '
+\print "$d$s$e$i1") '
;;
network|dump|*)
PS1=$'\001\r''$(\