[zsh] Move func/ directory to zsh/functions

This commit is contained in:
Eryn Wells 2026-01-18 08:43:02 -07:00
parent 91da2fc583
commit 7c08c5131f
53 changed files with 1 additions and 1 deletions

View file

@ -1,19 +0,0 @@
# Eryn Wells <eryn@erynwells.me>
autoload -Uz prepend_to_path
autoload -Uz update-path
function init-env-python
{
local -r user_python_root="$HOME/Library/Python"
if [[ -d "$pythonRoot" ]]; then
for f in $pythonRoot/*; do
prepend_to_path "$f/bin"
done
fi
export PYTHON_VIRTUAL_ENVS="$HOME/.local/share/python-virtual-environments"
update-path --prepend "$PYTHON_VIRTUAL_ENVS/eryn/bin"
}
init-env-python "$@"