X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fcustomize%2Ffred%2Ffred_variables.sh;h=36bee1e1cac0be0cb52ef5db6114af3a4b66eff4;hb=7012c68f1579711e941b34ae76de936ef9ceeb59;hp=88e4a1db8e47545de422e3afacd65096e1860001;hpb=279c032799d815db36904b747549693d14eafde3;p=feisty_meow.git diff --git a/scripts/customize/fred/fred_variables.sh b/scripts/customize/fred/fred_variables.sh index 88e4a1db..36bee1e1 100644 --- a/scripts/customize/fred/fred_variables.sh +++ b/scripts/customize/fred/fred_variables.sh @@ -4,32 +4,22 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then # if we don't see the nethack variable defined, this probably hasn't run yet. - # The cloud directory is our new repository that's always available. It serves as our - # personal cloud for data. - export CLOUD_BASE=$HOME/cloud + # The nuage directory is a cloud-like repository of our personal data, managed as a git repo. + export CLOUD_BASE=$HOME/nuage # 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 personal folders to the list for checkin & checkout. - REPOSITORY_LIST+="cloud ebooks web " - # add in any active projects. - if [ -d "$HOME/active" ]; then - REPOSITORY_LIST+="$(find "$HOME/active" -maxdepth 1 -mindepth 1 -type d) " - fi - # add in any of my applications that are in the apps folder. - if [ -d "$HOME/apps" ]; then - # first, simple projects. - REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 1 -mindepth 1 -type d) " - # then, site avenger specific projects. - REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) " - fi + REPOSITORY_LIST=" nuage ebooks web ${REPOSITORY_LIST} " # 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" + 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" @@ -49,15 +39,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,