From febf0bcad5af32b8a66594ef390911d07a427a33 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 3 Oct 2011 14:26:14 -0400 Subject: [PATCH] use more specific shell var name for "cattodo" --- bash_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_aliases b/bash_aliases index 5f1ccb5..dc7c25c 100755 --- a/bash_aliases +++ b/bash_aliases @@ -20,7 +20,7 @@ alias gvim='gvim --remote-tab-silent' alias cribbage='cribbage -r' alias backgammon='backgammon -r -pb' # put 'cattodo' in $PROMPT_COMMAND to use -alias cattodo='if [[ $LAST_WD != $PWD ]]; then if [[ -r .todo ]]; then cat .todo; fi; LAST_WD=$PWD; fi' +alias cattodo='if [[ $CATTODO_LAST_WD != $PWD ]]; then if [[ -r .todo ]]; then cat .todo; fi; CATTODO_LAST_WD=$PWD; fi' alias ls='ls --color=auto' alias strip-cr="sed -e 's/\x0d//'" alias rip='abcde -x -p -o mp3:"-v -b160"'