1
0
Fork 0

bashrc, zshrc: fix escape sequence; tmux.conf: more compatible config

This commit is contained in:
Von Random 2021-03-03 00:10:38 +03:00
parent ea9ede6627
commit 443a196f25
3 changed files with 41 additions and 30 deletions

2
bashrc
View file

@ -17,7 +17,7 @@ export LS_COLORS='no=00:fi=00:di=34:ow=34;40:ln=35:pi=30;44:so=35;44:do=35;44:bd
# {{{ prompt
prompt_command() {
case "$TERM" in
(screen*) printf '\ek%s\e\' "${HOSTNAME%%.*}";;
(screen*) printf '\ek%s\e\\' "${HOSTNAME%%.*}";;
(*) printf '\e]0;%s\a' "${HOSTNAME%%.*}";;
esac
}