From faf57386a8a678162106bf480b4c35b508488fcd Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Sun, 2 Feb 2014 16:55:23 -0500 Subject: [PATCH 1/2] Corrected cache-dir creation variable. I didn't test the script on a virgin system, until I did it on a new cygwin system. Now I have discovered this, and I have fixed it to properly create the cache dir again. --- tcshrc.prompt.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcshrc.prompt.defs b/tcshrc.prompt.defs index 434edb3..bf1dc93 100644 --- a/tcshrc.prompt.defs +++ b/tcshrc.prompt.defs @@ -85,7 +85,7 @@ set n="1" if ( ! -d $CSHENV_CACHE_DIR ) then - mkdir $CSHENVTCSH_CACHE_DIR + mkdir $CSHENV_CACHE_DIR endif #echo $screen_offset_count if ( -f ${CSHENV_CACHE_DIR}/screen.$screen_width ) then From 9d9a22df7bbf47d590103859b6145674a8bf048a Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Sun, 2 Feb 2014 16:58:31 -0500 Subject: [PATCH 2/2] LS detection variable should be for CSHENV_SYSTEM --- tcshrc.aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcshrc.aliases b/tcshrc.aliases index 7a11a71..5f8df19 100644 --- a/tcshrc.aliases +++ b/tcshrc.aliases @@ -28,7 +28,7 @@ if( $?CSHENV_USE_GNU_LS ) then setenv CSHENV_SYSTEM_LS Linux else - setenv CSHENV_SYSTEM_LS $SYSTEM + setenv CSHENV_SYSTEM_LS $CSHENV_SYSTEM endif if( $?CSHENV_DEBUG ) then echo "Done with gls probe..."