[pathmunge] remove duplicate entry into PATH variable on reload command

This commit is contained in:
Ivan Povalyukhin
2015-06-07 20:08:39 -07:00
parent 959acc94ae
commit dabf0e8c42
6 changed files with 9 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ fi
# respect ENV var set in .bash_profile, default is 't'
alias $TODO='$TODO_SRC_DIR/todo.sh -d $TODO_SRC_DIR/todo.cfg'
export PATH=$PATH:$TODO_SRC_DIR
pathmunge $TODO_SRC_DIR after
source $TODO_SRC_DIR/todo_completion # bash completion for todo.sh
complete -F _todo $TODO # enable completion for 't' alias