From 73aeec7a057eac3ec18dc4a2cb188ede9659ec8e Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Fri, 25 Sep 2020 06:55:56 +0000
Subject: [PATCH] updated pip-upgrade to use python

---
 all-shells/.commonshell |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index 36f5d44..60db69e 100644
--- a/all-shells/.commonshell
+++ b/all-shells/.commonshell
@@ -6,7 +6,10 @@
 alias less='less -r'
 alias stats="find . -type f -printf '%f\n' | sed -r -n 's/.+(\..*)$/\1/p' | sort | uniq -c"
 
-export EDITOR=/usr/bin/vim
+alias pip-upgrade="python -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 python -m pip install -U"
+
+export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim"
+alias ec=$EDITOR
 
 #default wine prefix
 export WINEPREFIX=$HOME/.wine/Games/

--
Gitblit v1.9.3