- Add EDITOR & PAGER environment.

This commit is contained in:
Gea-Suan Lin
2010-03-23 02:32:24 +08:00
parent b23e49c715
commit c175909dc4

View File

@@ -19,13 +19,12 @@ alias s="screen"
alias ssh="ssh -4 -C -e none" alias ssh="ssh -4 -C -e none"
alias t="telnet" alias t="telnet"
# #
export EDITOR="/usr/bin/vim"
export PAGER="/usr/bin/most"
#
shopt -s checkwinsize shopt -s checkwinsize
shopt -s histappend shopt -s histappend
# #
if [ -z "$PS1" ]; then
return
fi
#
if [ -z "$WINDOW" ]; then if [ -z "$WINDOW" ]; then
PS1='\[\e[0m\e[32m\]\u\[\e[0m\]@\[\e[36m\]\h\[\e[0m\] [\[\e[32m\]\w\[\e[0m\]] [\[\e[36m\]\A\[\e[0m\]] ' PS1='\[\e[0m\e[32m\]\u\[\e[0m\]@\[\e[36m\]\h\[\e[0m\] [\[\e[32m\]\w\[\e[0m\]] [\[\e[36m\]\A\[\e[0m\]] '
else else