summaryrefslogtreecommitdiff
path: root/dot_zsh/source/path.zsh
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2020-09-01 17:55:02 -0400
committerChloe Kudryavtsev <toast@toast.cafe>2020-09-01 17:55:02 -0400
commitf7ad2c80310ceb251b67c079da8aaeca208922af (patch)
treefb6ef6297f0259f1e7d19ce641d1c0a8f9160c92 /dot_zsh/source/path.zsh
parentzsh: clean up aliases a bit, add ht (diff)
zsh: process path first
Diffstat (limited to 'dot_zsh/source/path.zsh')
-rw-r--r--dot_zsh/source/path.zsh23
1 files changed, 0 insertions, 23 deletions
diff --git a/dot_zsh/source/path.zsh b/dot_zsh/source/path.zsh
deleted file mode 100644
index e29bb56..0000000
--- a/dot_zsh/source/path.zsh
+++ /dev/null
@@ -1,23 +0,0 @@
-if (( $+commands[luarocks] )); then
- PATH="$PATH:$(luarocks path --lr-bin)" # luarocks puts :s in the output
- eval $(luarocks path --no-bin)
-fi
-if (( $+commands[opam] )); then
- eval $(opam env)
-fi
-if (( $+commands[yarn] )) && [[ ! -f ~/.yarnrc ]]; then
- yarn config set global-folder ~/.local/yarn/global
- yarn config set prefix ~/.local/yarn
-fi
-
-# high priority
-path=( ~/bin $path )
-
-# low priority
-path+=(
- ~/Applications
- ~/.local/cargo/bin
- ~/.local/go/bin
- ~/.local/yarn/bin
- ~/.gem/ruby/*/bin(N)
-)