mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] use Python 3 by default on macOS
This commit is contained in:
parent
da7c44af35
commit
a59a693e98
1 changed files with 4 additions and 2 deletions
|
@ -44,9 +44,11 @@ if (( _is_macos )); then
|
||||||
if [[ -d "$formula_path/lib/pkgconfig" ]]; then
|
if [[ -d "$formula_path/lib/pkgconfig" ]]; then
|
||||||
path_prepend pkg_config_path "$formula_path/lib/pkgconfig"
|
path_prepend pkg_config_path "$formula_path/lib/pkgconfig"
|
||||||
fi
|
fi
|
||||||
done
|
done; unset formula
|
||||||
|
|
||||||
unset formula
|
# Use Python 3 executables by default, i.e. when a version suffix (`python3`)
|
||||||
|
# is not specified.
|
||||||
|
path_prepend path /usr/local/opt/python@3/libexec/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( _is_macos )); then
|
if (( _is_macos )); then
|
||||||
|
|
Loading…
Reference in a new issue