eval (dircolors -c ~/.dircolors | sed 's/>&\/dev\/null$//') # vi mode #fish_vi_key_bindings function fish_mode_prompt --description "called from fish_right_prompt" # do stuff end # abbr abbr hist 'history' abbr vi 'nvim' abbr ls 'ls --color' abbr ll 'ls -lh' abbr llt 'ls -lhrt' abbr lls 'ls -lhrS' abbr grep 'grep --binary-files=text' abbr diff colordiff abbr grep 'grep --color' abbr igrep 'grep -i' abbr netstat 'ss -a' ######################################################### # couleur dans le man ######################################################### set -gx LESS_TERMCAP_mb \e'[01;31m' set -gx LESS_TERMCAP_md \e'[01;31m' set -gx LESS_TERMCAP_me \e'[0m' set -gx LESS_TERMCAP_se \e'[0m' set -gx LESS_TERMCAP_so \e'[01;44;33m' set -gx LESS_TERMCAP_ue \e'[0m' set -gx LESS_TERMCAP_us \e'[01;32m'