LoginSignup
23
20

More than 5 years have passed since last update.

fzfをインストールする手順

Posted at

選択的インターフェイスやインタラクティブフィルタなどと呼ばれるツールのひとつであるfzfについて。
もうひとつ有名なものであるpecoについては他の記事を参照のこと。

githubのリポジトリをクローンしてきて、そこに用意されているインストールスクリプトを実行する。

$ git clone https://github.com/junegunn/fzf.git ~/.fzf
Cloning into '/home/todoroki/.fzf'...
remote: Counting objects: 4463, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 4463 (delta 10), reused 0 (delta 0), pack-reused 4432
Receiving objects: 100% (4463/4463), 1.43 MiB | 819.00 KiB/s, done.
Resolving deltas: 100% (2735/2735), done.
Checking connectivity... done.

$ ~/.fzf/install
No prebuilt binary for Linux armv7l ...
Building binary (go get -u github.com/junegunn/fzf/src/fzf) ... OK
Do you want to enable fuzzy auto-completion? ([y]/n) y
Do you want to enable key bindings? ([y]/n) y

Generate ~/.fzf.bash ... OK
Generate ~/.fzf.zsh ... OK

Do you want to update your shell configuration files? ([y]/n) n

Update /home/todoroki/.bashrc:
  - [ -f ~/.fzf.bash ] && source ~/.fzf.bash
    ~ Skipped

Update /home/todoroki/.zshrc:
  - [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
    ~ Skipped

For more information, see: https://github.com/junegunn/fzf

インストールスクリプト実行中、zshrcを書き換えられたくなかったので途中で no を選択。

23
20
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
20