I m a beginner with terminal I don't know why every time I try to open a directory from the terminal this pops up. Even I gave full disk access to the terminal then also this pops up. permission denied
If you want to be able enter dirs without typing cd
, you need to add this to your .zshrc
file:
setopt autocd
Also, if you want to insert the value of a parameter – such as $PWD
or $HOME
– you need to prefix its name with a $
, like I just did. The $
tells the shell to substitute the value of the parameter, instead of treating whatever you typed as plain text (unless substituted by a global alias).