projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
this version has been denoised
[feisty_meow.git]
/
scripts
/
core
/
variables.sh
diff --git
a/scripts/core/variables.sh
b/scripts/core/variables.sh
index 0628a4f1d017f197bfcc79bb579f652c7c030fb3..fa4bdca9e4ce85f3b769ca712ee4386e0165fec4 100644
(file)
--- a/
scripts/core/variables.sh
+++ b/
scripts/core/variables.sh
@@
-220,9
+220,7
@@
define_yeti_variable DEFAULT_FEISTYMEOW_ORG_DIR=/opt/feistymeow.org
fi
# add in any site avenger applications that are in the apps folder.
if [ -d "$HOME/apps" ]; then
fi
# add in any site avenger applications that are in the apps folder.
if [ -d "$HOME/apps" ]; then
- # first, simple projects.
- REPOSITORY_LIST+="$(find "$HOME/apps" -iname "avenger5" -type d) "
- # then, site avenger specific projects.
+ # back up all the apps.
REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) "
fi
REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) "
fi
@@
-311,8
+309,11
@@
done
# a late breaking action is to set the editor, if we can.
# we will fallback to whatever we can find on the host.
export EDITOR
# a late breaking action is to set the editor, if we can.
# we will fallback to whatever we can find on the host.
export EDITOR
-if [ -z "$EDITOR" ]; then
- EDITOR="$(which bluefish)"
+if [ ! -z "$DISPLAY" ]; then
+ # only try to add bluefish, a gui editor, if there is an X display for it.
+ if [ -z "$EDITOR" ]; then
+ EDITOR="$(which bluefish)"
+ fi
fi
if [ -z "$EDITOR" ]; then
EDITOR="$(which gvim)"
fi
if [ -z "$EDITOR" ]; then
EDITOR="$(which gvim)"