cleaned out some gvim vs vi oddity on windows.
authorChris Koeritz <fred@gruntose.com>
Fri, 2 Mar 2012 20:21:35 +0000 (15:21 -0500)
committerChris Koeritz <fred@gruntose.com>
Fri, 2 Mar 2012 20:21:35 +0000 (15:21 -0500)
scripts/core/common.alias
scripts/core/variables.sh

index 82528b4da0e5b1b08c38439ef425f76ada58d61e..03421eb33cb5cd3ea2248f4159ea96160f7fa202 100644 (file)
@@ -92,10 +92,6 @@ alias cputemp='acpi -t'
 alias recustomize='regenerate &>/dev/null; echo "copying custom overrides for fred..."; cpdiff $FEISTY_MEOW_DIR/examples/custom_overrides/fred $FEISTY_MEOW_GENERATED/custom; regenerate'
 # makes root user's home directory's permissions right.
 alias reroot='chown -R root:root /root'
-# replace the vi command with a graphical version on windows.
-if [ "$OS" = "Windows_NT" ]; then
-  alias vi='gvim'
-fi
 # yes, these are really helpful...
 alias whereami='echo whoa dude, try not to think about it...'
 alias why='echo just because.'
index 0f1ed10d6389776183f38937cd2f6da52ac89d43..a61b2fa0a2b61a20f95b436f1dc51293f230f992 100644 (file)
@@ -120,12 +120,7 @@ if [ -z "$NECHUNG" ]; then
   
   # set the editor for subversion if it hasn't already been set.
   if [ -z "$SVN_EDITOR" ]; then
-  #hmmm: not sure what original reason for having these different was...
-    if [ "$OS"  == "Windows_NT" ]; then
-      export SVN_EDITOR=$(which gvim)
-    else
-      export SVN_EDITOR=$(which vi)
-    fi
+    export SVN_EDITOR=$(which vi)
   fi
   
   # initializes the feisty meow build variables, if possible.