- Add EDITOR & PAGER environment.
This commit is contained in:
7
.bashrc
7
.bashrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user