Merge with rack configuration

This commit is contained in:
Némunaire 2012-11-22 03:16:45 +01:00
commit c73944fa19
5 changed files with 46 additions and 549 deletions

21
.bashrc
View file

@ -12,7 +12,22 @@ export HISTCONTROL=ignoreboth
export LANG=fr_FR.UTF-8
export MALLOC_CHECK_=3
export NNTPSERVER='news.epita.fr'
export PAGER="most"
if command most 2> /dev/null
then
export PAGER="most"
elif command less 2> /dev/null
then
export PAGER="less"
fi
export LESS_TERMCAP_mb=$(printf "\e[1;37m")
export LESS_TERMCAP_md=$(printf "\e[1;31m")
export LESS_TERMCAP_me=$(printf "\e[0m")
export LESS_TERMCAP_se=$(printf "\e[0m")
export LESS_TERMCAP_so=$(printf "\e[1;47;30m")
export LESS_TERMCAP_ue=$(printf "\e[0m")
export LESS_TERMCAP_us=$(printf "\e[1;32m")
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
@ -71,6 +86,6 @@ if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
if [ -f ~/.my_bashrc ]; then
. ~/.my_bashrc
if [ -f ~/.mybashrc ]; then
. ~/.mybashrc
fi