mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:46:40 +00:00
Update shell setup for python with macOS specific logic
This commit is contained in:
@@ -10,7 +10,7 @@ install_python_global_packages () {
|
||||
'yamllint'
|
||||
)
|
||||
|
||||
if (( $+commands[brew] )); then
|
||||
if [[ "$OSTYPE" == "darwin"* ]] && (( $+commands[brew] )); then
|
||||
brew list python >/dev/null || brew install python
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user