From f116182d0f9fd45043f0f52040cdb0b58b0cecfa Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 21 Feb 2018 10:43:05 +0100 Subject: [PATCH] use hash -d's in hash -d --- home/-shrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/home/-shrc b/home/-shrc index 9a36941..d538c98 100644 --- a/home/-shrc +++ b/home/-shrc @@ -4,12 +4,12 @@ umask 022 # don't inherit last umask. pip will break itself. [ -z "$MSYSTEM" ] && cdrive="/cygdrive/c" || cdrive="/c" -hash -d cyg="$cdrive/cygwin/home/$USER" -hash -d msys="$cdrive/msys64/home/$USER" -hash -d e="/media/chibi" hash -d c="$cdrive" -hash -d win="$cdrive/Users/$USER" -hash -d mm="$cdrive/Program Files (x86)/mupen64plus/mm" +hash -d cyg=~c"/cygwin/home/$USER" +hash -d msys=~c"/msys64/home/$USER" +hash -d e="/media/chibi" +hash -d win=~c"/Users/$USER" +hash -d mm=~c"/Program Files (x86)/mupen64plus/mm" hash -d py=~win"/Dropbox/py" ADDPATH() { @@ -62,7 +62,7 @@ export VST_SDK_DIR="$HOME/src/vstsdk2.4" export LADSPA_PATH="/usr/lib/ladspa" export NQDIR="$HOME/play" -# colors +# enable colors for x in ls dir vdir grep fgrep egrep; do alias $x="$x --color=auto" done