mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:26:39 +00:00
feat(mise/tools): install Ruby gems with mise
Also remove various old defunct install_*_global_packages helper shell commands.
This commit is contained in:
@@ -9,21 +9,3 @@
|
||||
alias ap="env OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES ansible-playbook"
|
||||
alias av="env OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES ansible-vault"
|
||||
alias mo="env OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES molecule"
|
||||
|
||||
# ==============================================================================
|
||||
# global python package
|
||||
# ==============================================================================
|
||||
|
||||
install_python_global_packages() {
|
||||
local packages=(
|
||||
'passlib'
|
||||
)
|
||||
|
||||
local pipcmd="pip"
|
||||
if ! command-exists pip && command-exists pip3; then
|
||||
pipcmd="pip3"
|
||||
fi
|
||||
|
||||
"$pipcmd" install --upgrade setuptools
|
||||
"$pipcmd" install --upgrade "${packages[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user