Skip to content

Commit

Permalink
add homebrew python to PATH to be able to do luarocks installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayvigneshk committed Mar 25, 2023
1 parent 9a275aa commit ddc7536
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ export CONFIG_DIR="$HOME/.config"
export ZSH_PLUGINS_DIR="$HOME/.local/share/zsh/plugins"
export TMUX_PLUGINS_DIR="$HOME/.local/share/tmux/plugins"
export GPG_TTY=`tty`
# Required for installing rocks on nvim (needs `python` on PATH) (mac specific I guess)
# https://stackoverflow.com/questions/5157678/how-do-i-use-brew-installed-python-as-the-default-python
export PATH="/opt/homebrew/opt/python/libexec/bin:$PATH"
source ~/.zshenv_others 2> /dev/null || true

0 comments on commit ddc7536

Please sign in to comment.