Directory Stack (
Directory stack and associated utilities for the xonsh shell.
Changes the directory.
If no directory is specified (i.e. if args is None) then this changes to the current user’s home directory.
xonsh command: dirs
Displays the list of currently remembered directories. Can also be used to clear the directory stack.
xonsh command: popd
Removes entries from the directory stack.
xonsh command: pushd
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.
A list containing the currently remembered directories.