X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=customizing%2Ffred%2Ffred_variables.sh;h=0316a8009366e92f88c5ed9490e5dcb2c702f91f;hb=2ffa93d3a469c59fc5210baeb5ef18f53afd87b0;hp=14daa8111e2103ab6075c970a4e546baddc75a2e;hpb=c54b4f0d1ed0c6867a7e0a824347be42038824e1;p=feisty_meow.git diff --git a/customizing/fred/fred_variables.sh b/customizing/fred/fred_variables.sh index 14daa811..0316a800 100644 --- a/customizing/fred/fred_variables.sh +++ b/customizing/fred/fred_variables.sh @@ -20,7 +20,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/xsede_tests xsede/code/cak0l xsede/docs xsede/secrets xsede/code/genesis/trunk xsede/code/genesis/libraries" + REPOSITORY_LIST+="cloud ebooks web antique inova_codebase yeti xsede/docs xsede/secrets xsede/code/fred " # point to our local certificate for ssh usage. export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge" @@ -40,7 +40,16 @@ if [ -z "$NETHACKOPTIONS" ]; then export BROWSER=/usr/bin/firefox # editor and other mixed settings... - export EDITOR="$(which vi)" + 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.