bashrc, zshrc: fix escape sequence; tmux.conf: more compatible config
This commit is contained in:
parent
ea9ede6627
commit
443a196f25
3 changed files with 41 additions and 30 deletions
2
bashrc
2
bashrc
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue