- # editor and other mixed settings...
- 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.
- export GIT_EDITOR="$EDITOR"
- export SVN_EDITOR="$EDITOR"
-
- # this hideous mess is necessitated by our not having found the source of the
- # settings yet. we override a few colors that look bad on a dark background.
+ # this hideous mess is necessitated by our not having found the source of
+ # the "ls" color settings yet. we override a few colors that look bad on
+ # a dark background.