From 6db5b89755a44b6eb1f2b2b0afdeb99f36f6a032 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 21 Oct 2020 01:02:08 +0000 Subject: [PATCH] updated to check for file before enabling, removed libva --- all-shells/.commonshell | 9 ++++----- emacs/.emacs.d | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/all-shells/.commonshell b/all-shells/.commonshell index b92c58d..20ffef7 100644 --- a/all-shells/.commonshell +++ b/all-shells/.commonshell @@ -2,6 +2,7 @@ if [ -z "${OSTYPE##*darwin*}" ]; then #Mac OSX specific versions alias ls="ls -G" + [ -d /usr/local/opt/llvm/bin ] && PATH="$PATH:/usr/local/opt/llvm/bin" else #Linux + others as default alias ls="ls --color=auto" @@ -18,13 +19,11 @@ #export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim" #alias ec=$EDITOR -export EDITOR="/usr/bin/vim" +[ -n "$(whereis vim)" ] && export EDITOR="/usr/bin/vim" #default wine prefix -export WINEPREFIX=$HOME/.wine/Games/ -export STEAM_COMPAT_DATA_PATH=$HOME/proton - -export LIBVA_DRIVER_NAME=iHD +[ -n "$(whereis wine)" ] && export WINEPREFIX=$HOME/.wine/Games/ +[ -n "$(whereis steam)" ] && export STEAM_COMPAT_DATA_PATH=$HOME/proton # add to path export PATH=$PATH:~/.local/bin diff --git a/emacs/.emacs.d b/emacs/.emacs.d index 2b80ab7..0b5a779 160000 --- a/emacs/.emacs.d +++ b/emacs/.emacs.d @@ -1 +1 @@ -Subproject commit 2b80ab79e7214879060a9c1cdbcc4840386d6a40 +Subproject commit 0b5a779a14b763910696016566a3d123d004fee9 -- Gitblit v1.9.3