From: Samir Benmendil Date: Sun, 10 May 2020 15:55:21 +0000 (+0100) Subject: zsh: don't change directories after todo X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/311e76838250e4165a6d5b9cdf14ba12e97c6b08 zsh: don't change directories after todo --- diff --git a/zsh/functions/todo b/zsh/functions/todo index 142719e..7f7f024 100644 --- a/zsh/functions/todo +++ b/zsh/functions/todo @@ -1,4 +1,3 @@ function todo() { - cd ~/org - grep --color=always '* TODO' *.org + (cd ~/org ; grep --color=always '* TODO' *.org) }