From 83dabfd7fb1c58d3d623a92374b06d7b40f17a86 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Jan 2019 11:06:23 -0800 Subject: [bash] cleanup by deleting unused paths. --- bashrc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bashrc b/bashrc index 16d0c9b..a01be5b 100755 --- a/bashrc +++ b/bashrc @@ -12,8 +12,6 @@ export GOPATH="${HOME}/workspace/go" # prompts export PS1="\w % " -RC_DIR=$(dirname $(readlink ${BASH_SOURCE[0]})) - # finally, build the path and source a few files __add_to_path_if_exists() { [ -d "$1" ] && export PATH="$1:$PATH" @@ -23,9 +21,7 @@ __source_file_if_exists() { [ -s "$1" ] && source "$1" } -__add_to_path_if_exists "${HOME}/workspace/bin" __add_to_path_if_exists "${GOPATH}/bin" -__add_to_path_if_exists "${RC_DIR}/../../scripts/" __source_file_if_exists "/opt/google-cloud-sdk/path.bash.inc" __source_file_if_exists "/opt/google-cloud-sdk/completion.bash.inc" @@ -44,11 +40,6 @@ alias lt="ls -lhtr" alias mv="mv -i" alias rm="rm -i" -alias g="git" -alias s="cd ~/workspace/git.twitter.biz/source" - -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 .' -- cgit 1.4.1