diff options
author | Franck Cuny <fcuny@twitter.com> | 2018-09-05 08:44:44 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2018-09-05 08:44:44 -0700 |
commit | 88645dc5f40a1e9678e7eaa88fef341a111c9acf (patch) | |
tree | e55cb4f935e7abc32125cc94d4a3c73fd8484873 /configs/rcs/bashrc | |
parent | [vim] Guess what. (diff) | |
download | emacs.d-88645dc5f40a1e9678e7eaa88fef341a111c9acf.tar.gz |
[bash] Move all aliases to bashrc.
Diffstat (limited to 'configs/rcs/bashrc')
-rwxr-xr-x | configs/rcs/bashrc | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/configs/rcs/bashrc b/configs/rcs/bashrc index 25a8971..cc376db 100755 --- a/configs/rcs/bashrc +++ b/configs/rcs/bashrc @@ -1,4 +1,4 @@ -export EDITOR="vim" +export EDITOR="emacsclient" export HISTFILE= export LANG="en_US.UTF-8" export LC_ALL="$LANG" @@ -14,9 +14,6 @@ export PS1="\h:\w % " RC_DIR=$(dirname $(readlink ${BASH_SOURCE[0]})) -[[ -s "${RC_DIR}/rcs/aliases" ]] && source "${RC_DIR}/rcs/aliases" -[[ -s "${RC_DIR}/rcs/twitter" ]] && source "${RC_DIR}/rcs/twitter" - # finally, build the path and source a few files __add_to_path_if_exists() { [ -d "$1" ] && export PATH="$1:$PATH" @@ -37,3 +34,30 @@ __add_to_path_if_exists "${HOME}/workspace/git.twitter.biz/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" + +alias cp="cp -i" +alias l="ls" +alias la="ls -a" +alias ll="ls -lh" +alias lt="ls -lhtr" +alias mv="mv -i" +alias rm="rm -i" + +alias g="git" +alias s="cd ~/workspace/git.twitter.biz/source" + +alias upload-transactions='smpl-transactions --project fcuny-finance --dataset finance' + +alias gohomedevbox="ssh -A 192.168.86.157" +alias gobastion="gcloud compute ssh bastion" + +alias gosmfipmi="ssh -A ipmibastion1.smf1.twitter.com" +alias goatlipmi="ssh -A ipmibastion1.atla.twitter.com" +alias gosmfnest="ssh -A nest.smfc.twitter.com" +alias goatlnest="ssh -A nest.smfc.twitter.com" + +alias gotwdevbox="ssh -A 172.25.31.131" +alias gomesosbuild="ssh -A smf1-egu-15-sr1.prod.twitter.com" + +alias smf1pending='curl -s https://aurora-smf1.twitter.biz/pendingtasks | jq .' +alias atlapending='curl -s https://aurora-atla.twitter.biz/pendingtasks | jq .' |