diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2017-02-27 17:15:54 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2017-02-27 17:15:54 -0800 |
commit | a985ae58c1ff4e2e37ed28235969d5a2c78810b2 (patch) | |
tree | 2cfc3669218fb7fd7c34046059a6fa1c13d0b0db | |
parent | [Emacs] Don't use native fullscreen for OSX. (diff) | |
download | emacs.d-a985ae58c1ff4e2e37ed28235969d5a2c78810b2.tar.gz |
[Bash] re-organize Twitter's configuration.
-rwxr-xr-x | bashrc | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/bashrc b/bashrc index 5ab8b0a..e560fc7 100755 --- a/bashrc +++ b/bashrc @@ -24,15 +24,19 @@ alias ll="ls -lh" alias lt="ls -lhtr" alias mv="mv -i" alias rm="rm -i" - -alias au="aurora" -alias aud="aurora_admin" alias g="git" -alias gonest="ssh nest" + alias t="time" -alias tags="ctags -R ." alias tm="tmux attach 2>/dev/null || tmux new" +alias upload-transactions='smpl-transactions --project fcuny-finance --dataset finance' + +# Twitter aliases +alias au="aurora" +alias aud="aurora_admin" +alias goebnest="ssh eventbus@nest.smfc.twitter.com" +alias gonest="ssh nest.smfc.twitter.com" + # finally, build the path and source a few files __add_to_path_if_exists() { [ -d "$1" ] && export PATH="$1:$PATH" @@ -44,13 +48,15 @@ __source_file_if_exists() { __add_to_path_if_exists "${HOME}/bin" __add_to_path_if_exists "${GOPATH}/bin" + +__source_file_if_exists "/opt/google-cloud-sdk/path.bash.inc" +__source_file_if_exists "/opt/google-cloud-sdk/completion.bash.inc" + +# Twitter paths __add_to_path_if_exists "${HOME}/src/source/dist" __add_to_path_if_exists "/opt/twitter/opt/go/libexec/bin" __add_to_path_if_exists "/opt/twitter/bin" +__source_file_if_exists "/opt/twitter/rvm/scripts/rvm" DOTFILES_DIR=$(dirname $(realpath $BASH_SOURCE)) __add_to_path_if_exists "${DOTFILES_DIR}/bin" - -__source_file_if_exists "/opt/google-cloud-sdk/path.bash.inc" -__source_file_if_exists "/opt/google-cloud-sdk/completion.bash.inc" -__source_file_if_exists "/opt/twitter/rvm/scripts/rvm" |