Giter Site home page Giter Site logo

z-fish's Introduction

z-fish is my fork of z (http://github.com/rupa/z) that works with the fish shell.

Tab completion is not working.  If you can fix this that would be great, but I
don't use it enough to bother.

z's original readme with modified install instructions follows.

---------------------------------------------------------------------------------

z is the new j

First, there was j: http://github.com/rupa/j/.

Then, there was j2: http://github.com/rupa/j2/, with some python added. Made
it easier to experiment with some stuff I'd been thinking about.

Now there's this, where I rewrote j2 back in bash. I like it. Sorry about all
the repos , but it kind of grew this way.

The biggest change from j is the use of 'frecency' for weighting. Directories
that have low ranking but were accessed recently, will quickly have higher rank.

The -r switch preserves the old behavior.

# maintains a jump-list of the directories you actually use
#
# INSTALL:
#   * put something like this in your config.fish:
#     . /path/to/z.fish
#   * cd around for a while to build up the db
#   * PROFIT!!
#
# USE:
#   * z foo     # goes to most frecent dir matching foo
#   * z foo bar # goes to most frecent dir matching foo and bar
#   * z -r foo  # goes to highest ranked dir matching foo
#   * z -t foo  # goes to most recently accessed dir matching foo
#   * z -l foo  # list all dirs matching foo (by frecency)

z-fish's People

Contributors

rupa avatar sjl avatar brottweiler avatar danielb2 avatar millimoose avatar joshdick avatar mic92 avatar

Stargazers

Onur Cinar avatar Octopus avatar quirrel avatar Julian Geiger avatar  avatar Andrey avatar Himanshu Tank avatar dongyuwei avatar Qiu Chaofan avatar 开水白菜 avatar Serhii avatar Mohamed Nasrullah avatar Alejandro avatar JINNOUCHI Yasushi avatar Phoomparin Mano avatar William Casarin avatar Adam Wagner avatar R. David Dunphy avatar Bernd Folberth avatar mattmc3 avatar Connor McLaughlin avatar laoxu avatar Jakub avatar de la REBERDIERE Ronald avatar Seongsu Yoon avatar  avatar Marius Waldal avatar Edwin avatar Jonas Geschke avatar Brendan Smith avatar Cayoglu avatar Chris avatar Frederick Henderson avatar Kounakis Ioannis avatar Josh Perez avatar Albert G avatar Alex Bates avatar Žiga Leber avatar  avatar Helio Oliveira avatar Johann Chang avatar Finn Smith avatar  avatar Rebecca Yang avatar Duncan Bay avatar Yoshiki Sato avatar KUBOTA Shota avatar Anthony Rynes avatar Martin Klepsch avatar tanitter avatar Sean avatar Toshiyuki Nakamura avatar Jake Cleary avatar Adam Porter avatar  avatar eg avatar  avatar Tobias Knuth avatar Christian Geier avatar Josef Pospíšil avatar Maik Ellerbrock avatar Ollie Day avatar Lee T avatar  avatar  avatar Matthew Johnson avatar Shane Delmore avatar  avatar Manas Karekar avatar Leland Cope avatar Benoît Laurent avatar Tomasz Szymanski avatar  avatar Justin Findlay avatar kawa avatar Boris Joffe avatar Marcell Jusztin avatar Ken Takagiwa avatar schlady avatar Sammy S. avatar Manas avatar William Myers avatar JP Roemer avatar Theron Boerner avatar Valentin Hăloiu avatar Vincent Verbrugh avatar Eric Masser avatar John Pham avatar Yan Zhang avatar Geoffroy Warin avatar Andrew Montgomery avatar Rich avatar Ashley Camba avatar Darryll DeCoster avatar Gaelan Steele avatar Tung Dao avatar Theodoros Ploumis avatar Homen Simpsor avatar M Haidar Hanif avatar louis avatar

Watchers

 avatar Michael Bobroski avatar Asger Hautop Drewsen avatar James Cloos avatar JINNOUCHI Yasushi avatar  avatar

z-fish's Issues

Add / Fix Tab Completion

As the maintainer states in the README.md the tab completion in z-fish, z-is not working.

I personally would use tab completion a lot as I work as a web developer and have a lot of directories with the same name but a parent directory that have unique names.

With tab completion as it is in the Bash version of z I can start typing the unique parent directory, hit tab to complete, then add a slash and start on the subdiretory, hit tab to complete to quickly get to a folder.

Currently the non-functioning tab completion is all in the z.fish file. After taking a look at how others have written completions in fish I have to wonder if this will require one or more files.
In fish the completions I have seen are in ~/.config/fish/completions/. So, one of the need files could be a completion file ~/.config/fish/completions/z.fish.

Homebrew formula

Would be nice to have this on homebrew or merged into the original repo

cheers :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.