2010-04-26 10:34:09 +02:00
|
|
|
|
2010-04-30 11:40:45 +02:00
|
|
|
# couleur dans man
|
2010-04-26 10:34:09 +02:00
|
|
|
export PAGER="less"
|
|
|
|
export LESS_TERMCAP_mb=$'\E[01;31m'
|
|
|
|
export LESS_TERMCAP_md=$'\E[01;31m'
|
|
|
|
export LESS_TERMCAP_me=$'\E[0m'
|
|
|
|
export LESS_TERMCAP_se=$'\E[0m'
|
|
|
|
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
|
|
|
export LESS_TERMCAP_ue=$'\E[0m'
|
|
|
|
export LESS_TERMCAP_us=$'\E[01;32m'
|
|
|
|
|
2010-04-30 11:40:45 +02:00
|
|
|
# X : Disables sending the termcap initialization and deinitialization strings to the terminal.
|
|
|
|
# F : Exit if the entire file can be displayed on the first screen
|
|
|
|
# R : couleur
|
|
|
|
|
|
|
|
export LESS="$LESS -XRF"
|
|
|
|
#export GIT_PAGER="more"
|
2010-04-26 10:34:09 +02:00
|
|
|
|
|
|
|
export EDITOR=/usr/bin/vim
|
2011-04-01 15:12:48 +02:00
|
|
|
|
|
|
|
if [[ -z "$BROWSER" ]] ; then
|
|
|
|
if [[ -n "$DISPLAY" ]] ; then
|
|
|
|
#v# If X11 is running
|
|
|
|
export BROWSER=x-www-browser
|
|
|
|
else
|
|
|
|
#v# If no X11 is running
|
|
|
|
export BROWSER=links
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2021-05-28 12:18:50 +02:00
|
|
|
export PATH=$HOME/local/bin:$PATH:$HOME/.cargo/bin
|