1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 12:48:01 +00:00
prezto/modules/directory
Indrajit Raychaudhuri 8ee9d1bbfe general: Documentation update for zstyle based alias skipping support
Add documentation to surface the `zstyle` based alias skipping.
2023-05-17 02:39:09 -05:00
..
init.zsh Add zstyle to skip aliases for additional modules 2023-04-13 09:33:48 -07:00
README.md general: Documentation update for zstyle based alias skipping support 2023-05-17 02:39:09 -05:00

Directory

Sets directory options and defines directory aliases.

Options

  • AUTO_CD auto changes to a directory without typing cd.
  • AUTO_PUSHD pushes the old directory onto the stack on cd.
  • PUSHD_IGNORE_DUPS does not store duplicates in the stack.
  • PUSHD_SILENT does not print the directory stack after pushd or popd.
  • PUSHD_TO_HOME pushes to the home directory when no argument is given.
  • CDABLE_VARS changes directory to a path stored in a variable.
  • MULTIOS writes to multiple descriptors.
  • EXTENDED_GLOB uses extended globbing syntax.
  • CLOBBER does not overwrite existing files with > and >>. Use >! and >>! to bypass.

Aliases

Aliases are enabled by default. To disable them, add the following to ${ZDOTDIR:-$HOME}/.zpreztorc.

zstyle ':prezto:module:directory:alias' skip 'yes'
  • d prints the contents of the directory stack.
  • 1 ... 9 changes the directory to the n previous one.

Authors

The authors of this module should be contacted via the issue tracker.