From 91af7f6bbfe6b010ea79106d3865a785daddec31 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 27 Jun 2020 12:51:50 +0000
Subject: [PATCH] Added non-zero return code in angled brackets

---
 all-shells/.commonshell |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index a1a6a8c..945ac86 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="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/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