I'm using the commands pushd
and popd
in my .zshrc
. I don't want these two commands to print anything to the console.
Therefore I tried to use it this way: pushd > /dev/null
.
But now the output is: permission denied: /etc/null
.
> /dev/null/
works for all other commands directly typed into my console (this tells me, that the permissions on /dev
should be set correctly).