added error noises, which were missing for some reason.
[feisty_meow.git] / customizing / fred / fred_variables.sh
index feb32584f06a70c39a5c0ceb59e05bed1ecfe6dc..2f13d5e547995e3a6d6c54e00d74b404ffa9c174 100644 (file)
@@ -4,9 +4,6 @@
 if [ -z "$NETHACKOPTIONS" ]; then
   # if we don't see the nethack variable defined, this probably hasn't run yet.
 
-  # The quartz directory has *really* personalized items.
-  export QUARTZDIR=$HOME/quartz
-
   # The cloud directory is our new repository that's always available.  It serves as our
   # personal cloud for data.
   export CLOUD_DIR=$HOME/cloud
@@ -20,7 +17,7 @@ if [ -z "$NETHACKOPTIONS" ]; then
   # add a bunch of folders to the list for checkin & checkout.  these are
   # definitely personal, and some of them are fairly dated (the yeti and
   # hoople folders, for example).
-  REPOSITORY_LIST+="cloud ebooks hoople hoople1 hoople2 inova_codebase quartz web yeti xsede/docs xsede/secrets xsede/xsede_tests xsede/code/libraries xsede/code/cak0l "
+  REPOSITORY_LIST+="cloud ebooks web antique inova_codebase yeti xsede/docs xsede/secrets xsede/xsede_tests xsede/code/fred "
 
   # point to our local certificate for ssh usage.
   export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge"
@@ -41,6 +38,15 @@ if [ -z "$NETHACKOPTIONS" ]; then
 
   # editor and other mixed settings...
   export EDITOR="$(which vim)"
+  if [ -z "$EDITOR" ]; then
+    EDITOR="$(which vi)"
+    if [ -z "$EDITOR" ]; then
+      EDITOR="$(which emacs)"
+      if [ -z "$EDITOR" ]; then
+        echo "Cannot find a friendly editor."
+      fi
+    fi
+  fi
   export VISUAL="$EDITOR"
   # the editors for revision control must wait while document is edited,
   # so gvim and others launched to x window are not appropriate.