diff options
author | Alan Pearce | 2021-04-02 15:45:16 +0200 |
---|---|---|
committer | Alan Pearce | 2021-04-02 15:45:16 +0200 |
commit | 96684025aa667ac029c61eed47388a6cdfc16463 (patch) | |
tree | 4f400025b0edd43f36d6040379c4f69d74f277c3 | |
parent | 5b61513bbf9d9343da90ce96c8eb1204ecd21e70 (diff) | |
download | nixfiles-96684025aa667ac029c61eed47388a6cdfc16463.tar.lz nixfiles-96684025aa667ac029c61eed47388a6cdfc16463.tar.zst nixfiles-96684025aa667ac029c61eed47388a6cdfc16463.zip |
zsh: improve completions with fzf-zsh-completions
-rw-r--r-- | user/settings/zsh.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 4784b825..542d319a 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -93,6 +93,16 @@ in sha256 = "08bjm1dd2mpv8rk8x6yvm6gj490rgimmiq7ln4jr5hik2k3mm82r"; }; } + { + name = "fzf-zsh-completions"; + src = pkgs.fetchFromGitHub { + owner = "chitoku-k"; + repo = "fzf-zsh-completions"; + rev = "19f92960538f0080d040c8ed774d465b9b46e1d1"; + # date = 2021-04-02T17:42:59+09:00; + sha256 = "0qmm0xm1aiy3fnn2vib26z10cfy707yqg0vg5236r7978glswdlg"; + }; + } ]); shellAliases = { @@ -224,6 +234,7 @@ in } source ${pkgs.fzf}/share/fzf/key-bindings.zsh + source ${pkgs.fzf}/share/fzf/completion.zsh '' + builtins.readFile ../zsh/zshrc; }; |