]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/functions/todo
zsh: don't change directories after todo
[dotfiles.git] / zsh / functions / todo
index 142719e0e5f3810c77c03c5905af56d641bace8a..7f7f02480672b164559469137f0789273d8fc87a 100644 (file)
@@ -1,4 +1,3 @@
 function todo() {
-    cd ~/org
-    grep --color=always '* TODO' *.org
+    (cd ~/org ; grep --color=always '* TODO' *.org)
 }