summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/.zshrc11
1 files changed, 6 insertions, 5 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 0214765..9dfa3f9 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -173,7 +173,7 @@ export PATH=/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH
export MANPATH=$MANPATH:$HOME/.local/share/man
-export GOPATH=$HOME/.local
+export GOPATH=$HOME/.local/lib/pkg/go
function maybe_add_dir_to_path {
if [[ -d $1 ]]; then
@@ -181,10 +181,10 @@ function maybe_add_dir_to_path {
fi
}
-maybe_add_dir_to_path ~/local_bin:$PATH
-maybe_add_dir_to_path /home/pks/local_bin:$PATH
-maybe_add_dir_to_path ~/.sync/local_bin:$PATH
-maybe_add_dir_to_path /home/pks/.sync/local_bin:$PATH
+maybe_add_dir_to_path ~/local_bin
+maybe_add_dir_to_path /home/pks/local_bin
+maybe_add_dir_to_path ~/.sync/local_bin
+maybe_add_dir_to_path /home/pks/.sync/local_bin
maybe_add_dir_to_path ~/nlp_scripts
maybe_add_dir_to_path /home/pks/nlp_scripts
maybe_add_dir_to_path ~/.sync/nlp_scripts
@@ -351,6 +351,7 @@ case $_HOST_TYPE in
;;
esac
+alias d='z'
alias l='ls'
alias la='ls -lA'
alias ll='ls -l'