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 |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index a1a6a8c..60db69e 100644
--- a/all-shells/.commonshell
+++ b/all-shells/.commonshell
@@ -6,14 +6,17 @@
 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/joel/.wine/Games/
+export WINEPREFIX=$HOME/.wine/Games/
 export STEAM_COMPAT_DATA_PATH=$HOME/proton
 
 export LIBVA_DRIVER_NAME=iHD
 
 # add to path
 export PATH=$PATH:~/.local/bin
-PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
+[ -r /usr/bin/ruby ] && PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"

--
Gitblit v1.9.3