Add about-plugin to pip plugin.
parent
ce892e58f7
commit
38fc1a0bdc
|
|
@ -1,3 +1,6 @@
|
||||||
|
cite about-plugin
|
||||||
|
about-plugin 'pip upgrade/uninstall all packages'
|
||||||
|
|
||||||
pip-upgrade-all() {
|
pip-upgrade-all() {
|
||||||
local outdated_packages="$(pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1)"
|
local outdated_packages="$(pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1)"
|
||||||
if [ -z $outdated_packages ]
|
if [ -z $outdated_packages ]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue