X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Ffred_variables.sh;h=4c9c0d90d2c8bb63088454bf258653760d3a83a8;hb=14c275d09cf51f1573b4aebd945072a6e9567b28;hp=35f81ed8255a0579121407b978c3c6fd0743f200;hpb=05ebf33c6a536bed180720442e488a91ae8e808c;p=feisty_meow.git diff --git a/scripts/customize/fred/fred_variables.sh b/scripts/customize/fred/fred_variables.sh index 35f81ed8..4c9c0d90 100644 --- a/scripts/customize/fred/fred_variables.sh +++ b/scripts/customize/fred/fred_variables.sh @@ -14,10 +14,11 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then export WEBBED_SITES=/var/www fi - # 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+="$(basename $FEISTY_MEOW_APEX) cloud ebooks web active/webwork" + # add a bunch of personal folders to the list for checkin & checkout. + REPOSITORY_LIST+=" cloud ebooks web " + + # adds our locally relevant archive folders into the list to be synched. + ARCHIVE_COLLECTIONS_LIST+="/z/basement /z/imaginations /z/musix /z/toaster /z/walrus" # point to our local certificate for ssh usage. export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge" @@ -37,15 +38,21 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then # export BROWSER=/usr/bin/firefox # editor and other mixed settings... - export EDITOR="$(which vim)" + export EDITOR="$(which gvim)" + if [ -z "$EDITOR" ]; then + export EDITOR="$(which vim)" + else + # special case for gvim; tell it not to fork or we can't wait for it. + EDITOR+=" --nofork" + fi 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 + if [ -z "$EDITOR" ]; then + EDITOR="$(which emacs)" + fi + if [ -z "$EDITOR" ]; then + echo "Cannot find a friendly editor." fi export VISUAL="$EDITOR" # the editors for revision control must wait while document is edited,