bashrc
parent
3642e37184
commit
89347e12e2
|
@ -143,6 +143,19 @@ ex ()
|
||||||
echo "'$1' is not a valid file"
|
echo "'$1' is not a valid file"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Colorized man using less
|
||||||
|
man() {
|
||||||
|
LESS_TERMCAP_md=$'\e[01;31m' \
|
||||||
|
LESS_TERMCAP_me=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_se=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_so=$'\e[01;44;33m' \
|
||||||
|
LESS_TERMCAP_ue=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_us=$'\e[01;32m' \
|
||||||
|
command man "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Theme.sh
|
# Theme.sh
|
||||||
export THEME_HISTFILE=~/.theme_history
|
export THEME_HISTFILE=~/.theme_history
|
||||||
[ -e "$THEME_HISTFILE" ] && theme.sh "$(theme.sh -l|tail -n1)"
|
[ -e "$THEME_HISTFILE" ] && theme.sh "$(theme.sh -l|tail -n1)"
|
||||||
|
|
Loading…
Reference in New Issue