diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-22 12:17:26 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-22 12:17:26 +0000 |
commit | b42841802d1d80cb2125a0a1bd87a2006dfdbe58 (patch) | |
tree | 692c5ecc691c7ae4fe50599b8493fe2cc3a49a90 /nix-conf/home | |
parent | 9632522130b2203a36dedfd65ae46b1f77729207 (diff) | |
download | dotfiles-b42841802d1d80cb2125a0a1bd87a2006dfdbe58.tar.gz |
Use fzf-git.sh
Diffstat (limited to 'nix-conf/home')
-rw-r--r-- | nix-conf/home/includes/zsh.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix index 76107a9..9dd4aa9 100644 --- a/nix-conf/home/includes/zsh.nix +++ b/nix-conf/home/includes/zsh.nix @@ -93,10 +93,6 @@ export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow -g "!{.git,node_modules}/*" 2> /dev/null' export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_ALT_C_COMMAND="rg --hidden --files --sort-files --null | xargs -0 dirname | sort -u" - if [ -d ~/fzf-git ]; then - source ~/fzf-git/functions.sh - source ~/fzf-git/key-binding.zsh - fi autopair-init enable-fzf-tab @@ -192,6 +188,16 @@ }; file = "zsh-edit.plugin.zsh"; } + { + name = "fzf-git.sh"; + src = fetchFromGitHub { + owner = "junegunn"; + repo = "fzf-git.sh"; + rev = "9190e1bf7273d85f435fa759a5c3b20e588e9f7e"; + sha256 = "2CGjk1oTXip+eAJMuOk/X3e2KTwfwzcKTcGToA2xPd4="; + }; + file = "fzf-git.sh"; + } ]; }; } |