1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 10:59:32 +08:00
ohmyzsh/plugins/dirhistory
Jacob Tomaw 1ba0af650a Use safer append to hook function arrays (#8406)
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>
2019-11-19 18:47:12 +01:00
..
dirhistory.plugin.zsh Use safer append to hook function arrays (#8406) 2019-11-19 18:47:12 +01:00
README.md dirhistory: add README (#7239) 2018-10-06 00:02:47 +02:00

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