Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Fish plugin for fasd

License

NotificationsYou must be signed in to change notification settings

gregorias/fasd.fish

Repository files navigation

A plugin forfish to integratefasd 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 isinspired by tools like autojump, z and v. Fasd keeps track of files anddirectories you have accessed, so that you can quickly reference them in thecommand line.

Prerequisites

You needfasd. On macOS, install withHomebrew:

brew install fasd

Installation

Install withfisher:

fisher install gregorias/fasd.fish

Add the setup command to yourconfig.fish:

fasd_setup

Usage

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

alias a="fasd -a"# anyalias s="fasd -si"# show / search / selectalias d="fasd -d"# directoryalias f="fasd -f"# filealias sd="fasd -sid"# interactive directory selectionalias sf="fasd -sif"# interactive file selectionalias z="fasd_cd -d"# cd, same functionality as j in autojumpalias zz="fasd_cd -d -i"# cd with interactive selection

Let's try one out:

$ a fish1.458      /Users/tom/.dotfiles/.config/fish/config.fish2.349      /Users/tom/Sync/code/pycopy/bin/activate.fish4.5339     /Users/tom/.config/fish/config.fish4.66506    /Users/tom/.config/fish/functions/update.fish4.6758     /Users/tom/Sync/prjcts/ExpressLRS/src/bin/activate.fish12         /Users/tom/.config/fish

For more info, check out the completefasd documentation.


[8]ページ先頭

©2009-2025 Movatter.jp