# MAN 手册原文: pushd [-n] [+n] [-n] pushd [-n] [dir] Adds a directory to the top of the directory stack, or rotates the stack, making the new top of the stack the current working directory. With no arguments
一. It depends. In zsh you can configure cd to push the old directory on the directory stack automatically, but it is not the default setting. As far as I can tell zsh with default settings behaves very similar to bash: cd somedir change directory to