mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-16 19:00:07 +00:00
1ba0af650a
Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com> |
||
---|---|---|
.. | ||
dirhistory.plugin.zsh | ||
README.md |
Dirhistory plugin
This plugin adds keyboard shortcuts for navigating directory history and hierarchy.
To use it, add dirhistory
to the plugins array in your zshrc file:
plugins=(... dirhistory)
Keyboard Shortcuts
Shortcut | Description |
---|---|
alt + left | Go to previous directory |
alt + right | Undo alt + left |
alt + up | Move into the parent directory |
alt + down | Move into the first child directory by alphabetical order |