summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-02-03 13:27:50 -0800
committerFranck Cuny <fcuny@twitter.com>2019-02-03 13:27:50 -0800
commit0c3c8ac34dad019392293fa8488052103b2194de (patch)
treefc0321bc4ed6c57006398939ea9ebcf5e96b97a1
parent[bash] cleanup by deleting unused paths. (diff)
downloademacs.d-0c3c8ac34dad019392293fa8488052103b2194de.tar.gz
[base] enable history; cleanup sourced files.
Enable the history again on the laptop.

Clean up the list of files to source, and add another (private) one.
-rwxr-xr-xbashrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/bashrc b/bashrc
index a01be5b..231a683 100755
--- a/bashrc
+++ b/bashrc
@@ -1,5 +1,4 @@
 export EDITOR="emacsclient -nw"
-export HISTFILE=
 export LANG="en_US.UTF-8"
 export LC_ALL="$LANG"
 export LC_CTYPE="$LANG"
@@ -22,15 +21,15 @@ __source_file_if_exists() {
 }
 
 __add_to_path_if_exists "${GOPATH}/bin"
+__add_to_path_if_exists "/opt/twitter/opt/go/libexec/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 "${HOME}/.bash_local"
 
 # Twitter paths
-__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 "${HOME}/workspace/source/dist"
 __add_to_path_if_exists "/opt/twitter/bin"
-__source_file_if_exists "/opt/twitter/rvm/scripts/rvm"
 
 alias cp="cp -i"
 alias l="ls"
@@ -42,4 +41,3 @@ alias rm="rm -i"
 
 alias smf1pending='curl -s https://aurora-smf1.twitter.biz/pendingtasks | jq .'
 alias atlapending='curl -s https://aurora-atla.twitter.biz/pendingtasks | jq .'
-