I just typed
crash in my ZSH (from oh-my-zsh if that matters) and I got peculiar answer:
zsh: permission denied: crash
instead of the usual command-not-found behaviour expected (since I have that plugin installed).
Please help me understand why or point me in where I can debug this. Other words don't trigger any such message, it's the usual command not found behaviour.
type crash states
crash not found.
➜ ~ crash zsh: permission denied: crash ➜ ~ type crash crash not found ➜ ~ type crashaa crashaa not found ➜ ~ type crsdadsadsa crsdadsadsa not found ➜ ~ ieusrferw zsh: command not found: ieusrferw ➜ ~ crashaa zsh: command not found: crashaa ➜ ~ crash zsh: permission denied: crash
Curiosity got the best of me:
sudo crash reports
sudo: crash: command not found. :P
Thank you @Gilles and @StéphaneChavelaz, for prompt hints:
set -xgave a lot of output, but core didn't change, right after command being executed there's no permission. I'll copy/paste output once I understand it a bit more :-)
- No, I don't have the
crashdirectory, I even created a temp
aaadir and repeated things there, no change. Nor do I remember setting
crashon path. Also, sudo doesn't help, well, it shows "no such command".