bash sweetiness

This commit is contained in:
Frank Villaro-Dixon 2014-01-09 23:08:27 +01:00
parent 5b83c51cac
commit 757bdc0357
3 changed files with 15 additions and 11 deletions

24
bashrc
View file

@ -16,16 +16,8 @@ PROMPT_COMMAND='history -a'
complete -cf sudo
complete -cf man
man() {
env LESS_TERMCAP_mb=$'\E[01;31m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
man "$@"
}
bind '"\t":menu-complete'
#####ON DEFINIT LES COULEURS
red='\033[31m'
@ -176,6 +168,17 @@ function cd #{{{
}
#}}}
function man { #{{{
env LESS_TERMCAP_mb=$'\E[01;31m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
man "$@"
} #}}}
alias ssh='my_ssh'
function my_ssh #{{{
{
@ -530,7 +533,6 @@ export EDITOR="vim"
GPG_TTY=`tty`
export GPG_TTY
#export GPGKEY=6F36914A
export GPGKEY=016106A6AF223DBE
export PYTHONPATH=/usr/local/lib/python2.7/dist-packages

View file

@ -1,3 +1,4 @@
set editing-mode vi
set keymap vi
set completion-ignore-case on
set show-all-if-ambiguous on

View file

@ -36,3 +36,4 @@ mouhahahahahha
circlip
BrainFuck
Multinôme
microcontroleurs