unalias ls
fi
+findcommand() {
+ notfound=1
+ while [ "$notfound" -eq "1" ]; do
+ COMMAND=$(command -v "$1")
+ notfound=$?
+ shift
+ done
+ echo $COMMAND
+}
+
blog () {
pushd $(pwd)
if [ ! -d "$HOME/blog" ]; then
DEBFULLNAME="Tollef Fog Heen"
CVSEDITOR=vi
SVN_EDITOR=vi
-XTERM=xterm
+XTERM=$(findcommand pterm Eterm gnome-terminal xterm)
PAGER=less
GNUSTEP_USER_ROOT="$HOME/.GNUstep"
esac
case "$DOMAINNAME" in
- idi.ntnu.no|stud.ntnu.no|*raw.no)
- XTERM=Eterm
- ;;
- # Sigh, no locale here, at least not uniformly.
-# case "$HOSTNAME" in
-# arabella*)
-# export LANG=no_NO
-# ;;
-# esac
-# ;;
samfundet*)
mesg y
EMAIL=tfheen@samfundet.no
;;
esac
-case "$HOSTNAME" in
- yiwaz*)
- XTERM=Eterm
- ;;
-esac
-
removepathelem "\\."
export LS_OPTIONS CVSROOT EDITOR TZ WWW_HOME LESSOPEN LESS RSYNC_RSH