diff options
Diffstat (limited to 'dot_bashrc_kusanagi')
-rw-r--r-- | dot_bashrc_kusanagi | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dot_bashrc_kusanagi b/dot_bashrc_kusanagi new file mode 100644 index 0000000..09cecd3 --- /dev/null +++ b/dot_bashrc_kusanagi @@ -0,0 +1,65 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +export HISTSIZE=2000 +export HISTFILESIZE=2000 + +complete -cf sudo +complete -cf man +shopt -s autocd + +alias ls='ls -F' +PS1='[\u@\h \W]\$ ' + +export EDITOR='vim' + +alias azer='setxkbmap fr bepo' +alias bépo='setxkbmap fr' +alias qdsf='setxkbmap dvorak' +alias aoeu='setxkbmap fr' + +export GOPATH=$HOME/go + +export PATH=$HOME/usr/bin:$HOME/go/bin:$HOME/.local/bin:$PATH +export LD_LIBRARY_PATH=$HOME/usr/lib + +export WINEARCH=win32 +export WINEPREFIX=/home/lx.nobackup/wine + +# -- GIT prompt +# GIT_PROMPT_FETCH_REMOTE_STATUS=0 +# GIT_PROMPT_START="\n\[\033[0m\][\$(if [[ \$? == 0 ]]; then echo \"\[\033[0;32m\]\$?\"; else echo \"\[\033[0;31m\]\$?\"; fi)\[\033[00m\]] \[\033[0;36m\]\u@\h \[\033[0;33m\]\w\[\033[0m\]" +# GIT_PROMPT_END="\[\033[0m\]\n \$ " +# source ~/usr/src/bash-git-prompt/gitprompt.sh + + + +alias clipper='ssh auvolat@sas.eleves.ens.fr' +alias cargo='ssh auvolat@cargo.ens.fr' +alias tremble='ssh auvolat@tremble.ens.fr' +alias tulipier='ssh auvolat@tulipier.ens.fr' +# conseil : utiliser tulipier pour bosser, sas.eleves pour IRC + +alias dgsas='ssh dg@sas.eleves.ens.fr' +alias dgwww='ssh -t dg@sas.eleves.ens.fr ssh www2.eleves.ens.fr' + +alias irc='ssh -t katchup@adnab.me /usr/local/bin/irc' + + +alias drsync='rsync -arzv --delete --progress' + +# expand -t 4 $HOME/Core/TODO + +keychain ~/.ssh/id_rsa --quiet + +#export LUA_PATH='/home/lx/.luarocks/share/lua/5.3/?.lua;/home/lx/.luarocks/share/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/lib/lua/5.3/?.lua;/usr/lib/lua/5.3/?/init.lua;./?.lua;./?/init.lua' +#export LUA_CPATH='/home/lx/.luarocks/lib/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/lib/lua/5.3/loadall.so;./?.so' + +export PYTHONPATH=. + +alias anac='source /home/lx.nobackup/anaconda2/bin/activate' + |