# # ~/.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:$HOME/usr/lib64 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/usr/lib/pkgconfig" 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' ## NODE NPM_PACKAGES="${HOME}/.npm-packages" PATH="$NPM_PACKAGES/bin:$PATH" # Unset manpath so we can inherit from /etc/manpath via the `manpath` command unset MANPATH # delete if you already modified MANPATH elsewhere in your config export MANPATH="$NPM_PACKAGES/share/man:$(manpath)" khal echo todo echo