alias not showing up in bash history
HISTIGNORE variable is set to:
export HISTIGNORE="&:ls*:reboot:pwd:exit:clear:[ \t]*"
I have couple of Alias set. One of them is
alias todo='emacs ~/Dropbox/Documents/todo.txt'
None of them shows up in history. Not that I want them to show up in history, but what baffles me is, why the hell they do not show up in history.
In bash, the sequence \t only means tab inside of $'...'. That's why your pattern matches your todo command; it matches anything that starts with t.
You can fix it like this:
tab=$'\t' export HISTIGNORE="&:ls*:reboot:pwd:exit:clear:[ $tab]*" unset tab