Git Product home page Git Product logo

fasd's Introduction

fasd (fisher plugin for fish-shell)

Plugin for fish-shell to integrate fasd into efficiency-seeking workflows:

Fasd (pronounced similar to "fast") is a command-line productivity booster. Fasd offers quick access to files and directories for POSIX shells. It is inspired by tools like autojump, z and v. Fasd keeps track of files and directories you have accessed, so that you can quickly reference them in the command line.

Prerequisite

You will need fasd. On macOS, install through homebrew:

$ brew install fasd

Install

With fisher:

$ fisher install fishgretel/fasd

Usage

Installing the plugin will enable the following functions (same as the bash aliases):

alias a="fasd -a"        # any
alias s="fasd -si"       # show / search / select
alias d="fasd -d"        # directory
alias f="fasd -f"        # file
alias sd="fasd -sid"     # interactive directory selection
alias sf="fasd -sif"     # interactive file selection
alias z="fasd_cd -d"     # cd, same functionality as j in autojump
alias zz="fasd_cd -d -i" # cd with interactive selection

Let's try one out:

$ a fish
1.458      /Users/tom/.dotfiles/.config/fish/config.fish
2.349      /Users/tom/Sync/code/pycopy/bin/activate.fish
4.5339     /Users/tom/.config/fish/config.fish
4.66506    /Users/tom/.config/fish/functions/update.fish
4.6758     /Users/tom/Sync/prjcts/ExpressLRS/src/bin/activate.fish
12         /Users/tom/.config/fish

For more info, please check out the complete [fasd documentation][fasd].

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.