diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-07-03 13:25:15 -0700 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-03 13:25:15 -0700 |
commit | ee2fe190a3f1ec495ff963f685c6efe6aa004f3a (patch) | |
tree | 3cf0131fe5e5e976ba9406f9aedfe9c871a18fde | |
parent | [tmux] remove a few options. (diff) | |
download | emacs.d-ee2fe190a3f1ec495ff963f685c6efe6aa004f3a.tar.gz |
[bash] clean up a little bit the configuration
-rw-r--r-- | bashrc | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/bashrc b/bashrc index ebb7ed8..c80a18d 100644 --- a/bashrc +++ b/bashrc @@ -7,7 +7,7 @@ export PAGER="less" export TZ=America/Los_Angeles export GOPATH="${HOME}/gocode" -export PATH="${GOPATH}/bin:${HOME}/bin:${HOME}/src/bin:/opt/twitter/bin:~/src/source/dist:/opt/twitter/opt/go/libexec/bin:/opt/twitter/rvm/bin:${PATH}" +export PATH="${GOPATH}/bin:${HOME}/bin:/opt/twitter/opt/go/libexec/bin:${PATH}" [ -z "$PS1" ] && return @@ -15,7 +15,7 @@ export PATH="${GOPATH}/bin:${HOME}/bin:${HOME}/src/bin:/opt/twitter/bin:~/src/so export PS1="\W % " alias e="$EDITOR" -alias et="TERM=xterm-256color emacsclient -nw" +alias et="emacsclient -nw" alias cp="cp -i" alias l="ls" @@ -26,8 +26,6 @@ alias mv="mv -i" alias rm="rm -i" alias utc="date -u" -alias tmuxw="tmux new-session -A -s work" -alias tmuxp="tmux new-session -A -s personal" alias k="kubectl" alias camera-backup="pbackup --bucket fcuny-photos --project fcuny-backups --import-path /Volumes/a6000/DCIM/100MSDCF/" @@ -35,22 +33,10 @@ alias g="git" alias gclean="git clean -dfx" alias docker-restart="docker-machine restart default" -alias docker-what="dockerrestart && dockersource" - -alias gonest="ssh -K nest.smfc.twitter.com" -alias goebnest="ssh -K eventbus@nest.smfc.twitter.com" -alias gobknest="ssh -K bookkeeper@nest.smfc.twitter.com" - -alias s="cd ~/src/source" -alias au="aurora" alias get-transactions="transactions --dataset fcuny_finance_transactions --project fcuny-devel" -[ -f "${HOME}/.tools-cache/setup-dottools-path.sh" ] && source "${HOME}/.tools-cache/setup-dottools-path.sh" -[ -f "/opt/twitter/bin/virtualenvwrapper.sh" ] && source "/opt/twitter/bin/virtualenvwrapper.sh" - -export TRANSLATEAPIKEY="AIzaSyBaXNhc9M2JgJHCAdYqAafER773IwbidjI" +[ -f "${HOME}/google-cloud-sdk/path.bash.inc" ] && source "${HOME}/google-cloud-sdk/path.bash.inc" +[ -f "${HOME}/google-cloud-sdk/completion.bash.inc" ] && source "${HOME}/google-cloud-sdk/completion.bash.inc" -source ~/google-cloud-sdk/path.bash.inc -source ~/google-cloud-sdk/completion.bash.inc -source /opt/twitter/rvm/scripts/rvm +[ -f "${HOME}/.bash_local" ] && source "${HOME}/.bash_local" |