From 031336b639ccd5d093ae26b5fcfda374b50b510b Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Mon, 01 Jun 2020 12:43:23 +0000
Subject: [PATCH] Genericised shell options

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

diff --git a/all-shells/.commonshell b/all-shells/.commonshell
index a1a6a8c..36f5d44 100644
--- a/all-shells/.commonshell
+++ b/all-shells/.commonshell
@@ -9,11 +9,11 @@
 export EDITOR=/usr/bin/vim
 
 #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