Recently my mac has started asking me for a password after I use cd
in Terminal.app (haven't tested other term apps).
strangely though, if I press ctrl-C when the passowrd is asked, the question goes away and I'm left in the dir I was cd
-ing to (as one would expect).
how can I find out what this password is needed for or how to stop this?
I'm using zsh
EDIT:
The terminal asks for a password at random moments, for random directories. Not a clue as to any pattern. The output is basically:
cd ~/Downloads
Password:
I think this started happening after I installed JewelryBox.app
cd
commands or only for specific directories? If the second, any idea on what these have in common and/or what puts them apart from the others? Also posting a screenshot (or a text copy) of the message (and thecd
part) would give some hints.whence cd
,which cd
,echo $SHELL
. It seems this command is different than builtinecho $SHELL
gives/bin/zsh
andwhich
sayscd: shell built-in command
.whence cd
just sayscd
. I remmeber there is azsh
thing you can enable as to see all the commands executed when you do something,xset
or something like that but I cannot remember exactly what.set -x
that was it.cd
-ing to a dir outputs a lot stuff, including a lot of references to rvm, rubies, ... so I think the culprit must be JewelryBox or any of it's installed rvms.