diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-17 12:45:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-17 12:45:46 +0100 |
commit | d47dd5aa3882aea1a8eff4fb9faa4881274559dc (patch) | |
tree | b438c8fb8953b84614c170a5278ae72ece90bb68 /old/saki/dot_bashrc | |
parent | eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (diff) | |
download | user-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.tar.gz user-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.zip |
Unify things and rename things
Diffstat (limited to 'old/saki/dot_bashrc')
-rw-r--r-- | old/saki/dot_bashrc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/old/saki/dot_bashrc b/old/saki/dot_bashrc new file mode 100644 index 0000000..fa0d5cc --- /dev/null +++ b/old/saki/dot_bashrc @@ -0,0 +1,44 @@ +# +# ~/.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' +PS1='[\u@\h \W]\$ ' + +alias nettop='sudo nethogs enp4s0 -d 5' + +export EDITOR='vim' + +# CUDA +export PATH=/opt/cuda/bin:$PATH + +# added by Anaconda 2.3.0 installer +# export PATH="/home/lx.nobackup/anaconda/bin:$PATH" + +# -- 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 irc='TERM=xterm ssh -t adnab.me /usr/local/bin/irc' + +keychain ~/.ssh/id_rsa --quiet +eval $(keychain --eval --quiet) + + +# . /home/lx.nobackup/torch/install/bin/torch-activate +# export AAIPATH=/home/aai + +. /home/aai/env.bash + +export GOPATH=~/go +export PATH=$PATH:~/go/bin + |