Check screen & tmux.
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -49,7 +49,7 @@ function http11()
|
|||||||
}
|
}
|
||||||
#
|
#
|
||||||
# Hack for gnome-terminal
|
# Hack for gnome-terminal
|
||||||
if [ "$COLORTERM" == "gnome-terminal" ]; then
|
if [ "$COLORTERM" == "gnome-terminal" -a -z "$TMUX" -a -z "$SCREEN" ]; then
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@@ -28,7 +28,7 @@ if [[ -x /usr/bin/xdg-open ]]; then
|
|||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# Hack for gnome-terminal
|
# Hack for gnome-terminal
|
||||||
if [[ "$COLORTERM" == "gnome-terminal" ]]; then
|
if [[ "$COLORTERM" == "gnome-terminal" && -z "$TMUX" && -z "$WINDOW" ]]; then
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user