Giter Club home page Giter Club logo

fish-zoxide's Introduction

fish-zoxide

Fish plugin for zoxide

Using this plugin, you do not need to add the config zoxide init fish | source to config.fish, which will make the fish shell startup slowly.

Installation

fisher

fisher install tenfyzhong/fish-zoxide

Config

zoxide init flags

The zoxide init command provide some flags to config the zoxide.
But using this plugin, you do not need to add the config zoxide init fish | source to your config file anymore.
In order to support the zoxide init feature, I made a function name __zoxide_init to make the same things.
The function support the same flags with zoxide init, the flags of the command zoxide can find in this page flags:

  • --cmd
    • Changes the prefix of the z and zi commands.
    • --cmd j would change the commands to (j, ji).
    • --cmd cd would replace the cd command.
  • --hook <HOOK>
    • Changes how often zoxide increments a directory's score, the default config is pwd:
      Hook Description
      none Never
      prompt At every shell prompta
      pwd Whenever the directory is changed
  • --no-cmd
    • Prevents zoxide from defining the z and zi commands.
    • These functions will still be available in your shell as __zoxide_z and __zoxide_zi, should you choose to redefine them

Environment variables

All the environment is support which the zoxide provide, you can the the office document in this page environment-variables.
Besides, it's support whenever you set the environment.

  • _ZO_ECHO
    • When set to 1, z will print the matched directory before navigating to it.
  • _ZO_RESOLVE_SYMLINKS
    • When set to 1, z will resolve symlinks before adding directories to the database.

fish-zoxide's People

Contributors

tenfyzhong avatar

Watchers

 avatar

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.