fi;
# bts debian options
+ if [ -e bin/faf ]; then
+ complete -F _command faf
+ fi;
+
export DEBEMAIL="don@debian.org"
# enable color support of ls and also add handy aliases
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 ()