In a related question [somebody states](https://unix.stackexchange.com/a/556729/202178) that the directory stack of the
pushd
command is emptied when your shell terminates. But _how_ is the stack actually stored? I use [fish](https://fishshell.com/) instead of bash and the commands work the same way. I would assume pushd
(and popd
) works independently of the shell you're using. Or do both shells have their own implementation?
Asked by jallersma
(65 rep)
Jan 7, 2020, 09:39 AM
Last activity: Jan 7, 2020, 04:56 PM
Last activity: Jan 7, 2020, 04:56 PM