X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcustomize%2Ffred%2Ffred_variables.sh;h=64f28c17eecccc9f4c86ed372380fb6a16181850;hb=ef338226ccf699c8d8a149d9b74e9888175c7099;hp=4bbe66fb203809a1de79c8a3af59efc0bf7824cc;hpb=527e3b806b119c7c1f3a348486b1abcceec33ffe;p=feisty_meow.git diff --git a/scripts/customize/fred/fred_variables.sh b/scripts/customize/fred/fred_variables.sh index 4bbe66fb..64f28c17 100644 --- a/scripts/customize/fred/fred_variables.sh +++ b/scripts/customize/fred/fred_variables.sh @@ -10,14 +10,17 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then # The gruntose web site is expected to reside below, if it exists at all. export WEBBED_SITES=$HOME/web - if [ "$(hostname)" = "zooty.koeritz.com" ]; then + if [ "$(hostname)" = "hamstertronic" ]; 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+="cloud ebooks web projects/web_work" + # add a bunch of personal folders to the list for checkin & checkout. + REPOSITORY_LIST=" cloud ebooks web ${REPOSITORY_LIST} " + + # adds our locally relevant archive folders into the list to be synched. + MAJOR_ARCHIVE_SOURCES+="/z/archons /z/basement /z/imaginations /z/musix /z/toaster /z/walrus $HOME/brobdingnag" + # our set of known source hierarchy folder names. + SOURCECODE_HIERARCHY_LIST="codebarn extra_brain interbrane" # point to our local certificate for ssh usage. export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge" @@ -37,15 +40,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,