NigoroJr / zaw-z

z source for zaw.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zaw-z

Description

zaw source for z. This zaw source lets you jump to "frecent" directories very quickly. The more recent and/or frequent you visit a directory the higher it will rank in the list.

Screenshot

Tested using:

Installation

Using zplug is recommended. Refer to zplug's project page for more information on how to install and set up zplug.

source ~/.zplug/init.zsh

zplug 'zsh-users/zaw'

# zplug 'rupa/z', \
zplug 'knu/z', \
    use:'z.sh', \
    defer:2

zplug 'NigoroJr/zaw-z', \
    defer:3, \
    on:'zsh-users/zaw'

zplug check || zplug install

zplug load

Usage

Put the following in your .zshrc.

# C-M-z for zaw-z
bindkey "\e^Z" zaw-z

Change the ZAW_Z_CD_CMD to use a different cd command. By default, it uses cd. If you don't want the executed command to be saved in your history, you can change this variable to cd with a leading space.

Similar projects

License

MIT License

Author

Naoki Mizuno

About

z source for zaw.


Languages

Language:Shell 100.0%