From 96684025aa667ac029c61eed47388a6cdfc16463 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 2 Apr 2021 15:45:16 +0200 Subject: zsh: improve completions with fzf-zsh-completions --- user/settings/zsh.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'user/settings') 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; }; -- cgit 1.4.1