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
# 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)"