Move gnome-terminal hack eariler.
This commit is contained in:
10
.bashrc
10
.bashrc
@@ -48,6 +48,11 @@ function http11()
|
||||
echo ""
|
||||
}
|
||||
#
|
||||
# Hack for gnome-terminal
|
||||
if [ "$COLORTERM" == "gnome-terminal" ]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
#
|
||||
if [ -z "${LANG}" ]; then
|
||||
export LANG="en_US.UTF-8"
|
||||
fi
|
||||
@@ -69,11 +74,6 @@ else
|
||||
alias ls="/bin/ls -aF"
|
||||
fi
|
||||
#
|
||||
# Hack for gnome-terminal
|
||||
if [ "$COLORTERM" == "gnome-terminal" ]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
#
|
||||
[[ -s "/etc/bash_completion" ]] && source "/etc/bash_completion"
|
||||
[[ -s "/usr/local/share/bash-completion/bash_completion" ]] && source "/usr/local/share/bash-completion/bash_completion"
|
||||
[[ -s "/usr/local/share/git-core/contrib/completion/git-completion.bash" ]] && source "/usr/local/share/git-core/contrib/completion/git-completion.bash"
|
||||
|
||||
10
.zshrc
10
.zshrc
@@ -33,6 +33,11 @@ else
|
||||
export PAGER="less"
|
||||
fi
|
||||
#
|
||||
# Hack for gnome-terminal
|
||||
if [[ "$COLORTERM" == "gnome-terminal" ]]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
#
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
#
|
||||
@@ -88,11 +93,6 @@ else
|
||||
alias "ls=/bin/ls -aF"
|
||||
fi
|
||||
#
|
||||
# Hack for gnome-terminal
|
||||
if [[ "$COLORTERM" == "gnome-terminal" ]]; then
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
#
|
||||
export BLOCKSIZE="k"
|
||||
export EDITOR="vim"
|
||||
export GIT_PAGER="less"
|
||||
|
||||
Reference in New Issue
Block a user