From a71b8532ba1e25656f8f776935b63d9df95ae641 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 20 Jun 2020 10:20:51 +0000
Subject: [PATCH] added pip-upgrade alias

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

diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index 36f5d44..945ac86 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="pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 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