diff --git a/.zshrc b/.zshrc index d3591f3..79ccc3f 100644 --- a/.zshrc +++ b/.zshrc @@ -174,7 +174,7 @@ todo_dir="$(dirname "$(realpath ~/todo)")" if [ -z "$@" ];then cd "$(dirname "$(realpath ~/todo)")" - git pull + git rev-parse && git pull $EDITOR ~/todo elif [ "$@" = 'auto' ];then cd "$todo_dir"