mirror of
https://github.com/meineerde/dotfiles.git
synced 2026-02-06 00:53:23 +00:00
Preserve the tab titles in Terminal.app
This commit is contained in:
parent
caad80f0fa
commit
759e7f7eea
10
.bashrc
10
.bashrc
@ -195,11 +195,11 @@ export PS1="$PS1$ps1_pwd$ps1_vcs$ps1_ruby \$ "
|
||||
# Make less more friendly for non-text input files, see lesspipe(1)
|
||||
[[ -x /usr/bin/lesspipe ]] && eval "$(lesspipe)"
|
||||
|
||||
# If this is an xterm set the title to user@host:dir.
|
||||
#case "$TERM" in
|
||||
# xterm*|rxvt*) export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' ;;
|
||||
# *) ;;
|
||||
#esac
|
||||
# If this is an xterm set the title to something empty to preserve Terminal.app titles.
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*) export PROMPT_COMMAND='echo -ne "\033]0;\007"' ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
# Enable color support. Don't add ls here, it behaves different on Darwin/BSD.
|
||||
if [[ -x /usr/bin/dircolors ]]; then eval "$(dircolors -b)"; fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user