1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-02-22 06:21:11 +08:00
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
..
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