I'm currently building my dotfiles and I want to list all
TODO: ... comments in my project's directory, I created a bash alias to do this:
alias mytodo='grep --recursive "TODO: "'
It works well, however, it also returns the alias definition. this is the sample output.
devs@dotfiles$ mytodo bash/profile.d/aliases/: alias mytodo='grep --recursive "TODO: "' bin/git_branch_status/: # TODO: Add checking of remote branch status. tools/setup/: # TODO: Add search for existing symlinks.
how can I specifically exclude that line with the alias definition?