diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-14 15:04:59 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-14 15:04:59 +0100 |
commit | 9da0cbe5efc55d5c8a7726ab2ca57595f2677c8f (patch) | |
tree | 7598bef7633dd98c352f6ee6b1608690f8230235 /old/dot_bashrc_konata | |
parent | ae2e8ad7c2e1812b171eeca57ac00f8ba5d20cf5 (diff) | |
download | user-config-9da0cbe5efc55d5c8a7726ab2ca57595f2677c8f.tar.gz user-config-9da0cbe5efc55d5c8a7726ab2ca57595f2677c8f.zip |
Move files around
Diffstat (limited to 'old/dot_bashrc_konata')
-rw-r--r-- | old/dot_bashrc_konata | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/old/dot_bashrc_konata b/old/dot_bashrc_konata new file mode 100644 index 0000000..d4a765f --- /dev/null +++ b/old/dot_bashrc_konata @@ -0,0 +1,65 @@ +# +# ~/.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=$PATH:$HOME/usr/bin:$HOME/go/bin +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 + + +# ------------ GOOGLE CLOUD SDK +# The next line updates PATH for the Google Cloud SDK. +source /home/katchup/usr/google-cloud-sdk/path.bash.inc +# The next line enables bash completion for gcloud. +source /home/katchup/usr/google-cloud-sdk/completion.bash.inc + +# ------------ OPAM configuration +. /home/katchup/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true +export PATH=$PATH:$HOME/usr/google-cloud-sdk/bin:$HOME/.opam/system/bin:$HOME/.local/bin + +export SDL_VIDEO_X11_DGAMOUSE=0 + +export PYLEARN2_DATA_PATH=/home/katchup/s/dataset +export PATH=$PATH:$HOME/s/pylearn2/pylearn2/scripts + + +alias clipper='ssh -R 9876:localhost:9872 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 vps='ssh katchup@vps46149.ovh.net' +alias irc='TERM=xterm ssh -t adnab.me /usr/local/bin/irc' + +alias ocamltop='rlwrap ocaml "$@"' + +alias drsync='rsync -arzv --delete --progress' + +expand -t 4 $HOME/Core/TODO + + |