Provide shortcut to find personal bin exes

This commit is contained in:
Andrew Tomaka 2022-02-02 23:17:43 -05:00
parent 686a06e2b6
commit 662063f37b
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
5 changed files with 43 additions and 3 deletions

View file

@ -1,10 +1,11 @@
ZDOTDIR=$HOME/.config/zsh
PERSONAL_BIN_PATH="$HOME/bin"
PERSONAL_FPATH="$ZDOTDIR/completions"
NODENV_PATH="$HOME/.nodenv/bin"
RBENV_PATH="$HOME/.rbenv/bin"
ZDOTDIR=$HOME/.config/zsh
if [[ "$OSTYPE" == darwin* ]]; then
HOMEBREW_PREFIX="/opt/homebrew"
HOMEBREW_CELLAR="/opt/homebrew/Cellar"
@ -28,6 +29,7 @@ fi
[[ -d "$RBENV_PATH" ]] && PATH="$RBENV_PATH:$PATH"
[[ -d "$NODENV_PATH" ]] && PATH="$NODENV_PATH:$PATH"
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
[[ -d "$PERSONAL_FPATH" ]] && FPATH="$PERSONAL_FPATH:$FPATH"
# EDITOR
EDITOR=vim