LANG=C
fi;
export LANG
+
+ # If we're running on liszt, include /var/list/.bin in the path
+ if [ "$(hostname)" == "liszt" ] && [ -d /var/list/.bin ]; then
+ PATH="/var/list/.bin:$PATH"
+ fi;
export PATH="~/bin:$PATH"
+
if [ ! -e ~/tmp ]; then
mkdir ~/tmp;
fi;
cd ()
{
- builtin cd "$@" && [ -r .todo ] && devtodo ${TODO_OPTIONS}
+ # use pushd instead of cd
+ if [ -z "$1" ] || [ "$1" == "-" ]; then
+ builtin cd "$@" && [ -r .todo ] && devtodo ${TODO_OPTIONS};
+ else
+ builtin pushd "$@" >/dev/null && [ -r .todo ] && devtodo ${TODO_OPTIONS};
+ fi;
}
pushd ()