diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-03-22 10:50:10 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-03-22 10:50:10 -0700 |
commit | aefc0130bdc6227bf468d33954aae6f81a7a9554 (patch) | |
tree | faad2f9cb29ccdf3a1ac234e4b486edc6578d1c6 /bashrc | |
parent | [emacs] well, fonts ... (diff) | |
download | emacs.d-aefc0130bdc6227bf468d33954aae6f81a7a9554.tar.gz |
[bash] some clean up / new aliases
Diffstat (limited to 'bashrc')
-rwxr-xr-x | bashrc | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/bashrc b/bashrc index 025b6f1..0d2e21d 100755 --- a/bashrc +++ b/bashrc @@ -1,4 +1,4 @@ -export EDITOR="emacsclient -nw" +export EDITOR="emacsclient" export HISTFILE= export LANG="en_US.UTF-8" export LC_ALL="$LANG" @@ -12,25 +12,10 @@ export GOPATH="${HOME}/gocode" # prompts export PS1="\h:\w % " -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 upload-transactions='smpl-transactions --project fcuny-finance --dataset finance' - -# Twitter aliases -alias gobastion="gcloud compute ssh bastion" -alias gocsnest="ssh -A csnest2.smf1.twitter.com" -alias goebnest="ssh -A eventbus@nest.smfc.twitter.com" -alias goipmi="ssh -A ipmibastion1.atla.twitter.com" -alias gonest="ssh -A nest.smfc.twitter.com" -alias gotwdevbox="ssh -A 172.25.31.131" -alias gohomedevbox="ssh -A 192.168.86.157" -alias gomesosbuild="ssh -A smf1-egu-15-sr1.prod.twitter.com" +RC_DIR=$(dirname $(readlink ${BASH_SOURCE[0]})) + +[[ -s "${RC_DIR}/rcs/aliases" ]] && source "${RC_DIR}/rcs/aliases" +[[ -s "${RC_DIR}/rcs/twitter.sh" ]] && source "${RC_DIR}/rcs/twitter" # finally, build the path and source a few files __add_to_path_if_exists() { |