diff options
author | Alex Auvolat <alex@adnab.me> | 2016-01-24 11:04:49 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-01-24 11:04:49 +0100 |
commit | 2d09e180427a8fc601d926f7057e2c44233222c4 (patch) | |
tree | 82db7901c17c08513fe03fc336ee55dc4686e048 /dot_bashrc_chitanda | |
parent | 5a1659f9e20a13d19d34920ebd14acf1655bbc2f (diff) | |
download | user-config-2d09e180427a8fc601d926f7057e2c44233222c4.tar.gz user-config-2d09e180427a8fc601d926f7057e2c44233222c4.zip |
Updates
Diffstat (limited to 'dot_bashrc_chitanda')
-rw-r--r-- | dot_bashrc_chitanda | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dot_bashrc_chitanda b/dot_bashrc_chitanda new file mode 100644 index 0000000..b6a95ac --- /dev/null +++ b/dot_bashrc_chitanda @@ -0,0 +1,53 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +complete -cf sudo +complete -cf man +shopt -s autocd + +alias ls='ls --color=auto' +#alias df='dfc' +PS1='[\u@\h \W]\$ ' + +export EDITOR='vim' + +export GOPATH=$HOME/go + +export PATH=$HOME/usr/bin:$HOME/go/bin:$PATH +export LD_LIBRARY_PATH=$HOME/usr/lib + +# PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' + +export WINEARCH=win32 + +# -- 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 + + +export SDL_VIDEO_X11_DGAMOUSE=0 + + +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='TERM=xterm 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 |