mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2023-12-19 d12918041f5609821e21b794198e2602e6018cab
Changed pip-upgrade command for new pip version
1 files modified
2 ■■■ changed files
all-shells/commonshell 2 ●●● patch | view | raw | blame | history
all-shells/commonshell
@@ -18,7 +18,7 @@
    find ${1:-'.'} -type f -print | sed -E -n 's/.+(\..*)$/\1/pi' | sort | uniq -c | sort -g
}
alias pip-upgrade="python -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 python -m pip install -U"
alias pip-upgrade="pip --disable-pip-version-check list --outdated --format=json | python -c \"import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))\" | xargs -n1 pip install -U"
#export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim"
#alias ec=$EDITOR