summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2021-08-16 15:09:38 +0200
committerpks <pks@pks.rocks>2021-08-16 15:09:38 +0200
commit9ac3585c7c4eef6b8c0ae3c393dbb0fe2c379a90 (patch)
tree1be90a1586278e50c641344302e9c7e2011d2821 /zsh
parent3b1d54e747f19bf70c7b6fa28f0a144f1e607cc2 (diff)
zshrc
Diffstat (limited to 'zsh')
-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'