mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 08:26:42 +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'
|
'yamllint'
|
||||||
)
|
)
|
||||||
|
|
||||||
if (( $+commands[brew] )); then
|
if [[ "$OSTYPE" == "darwin"* ]] && (( $+commands[brew] )); then
|
||||||
brew list python >/dev/null || brew install python
|
brew list python >/dev/null || brew install python
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user