/z.fish

z.sh clone for fish

Primary LanguageShell

z.fish is a clone of z that works with fish

Install

  • clone this repo (or just download the z.fish file in this repo)

    git clone https://github.com/kols/z.fish.git
  • modify your config.fish to add a line:

    source /path/to/z.fish
  • cd around for a while to build up the db

Usage

  • goes to most frecent dir matching foo

    z foo
  • goes to most frecent dir matching foo and bar

    z foo bar