FZF support in fish

This commit is contained in:
2022-09-02 15:31:44 -07:00
parent fa4fabed2b
commit 13462d44e7
2 changed files with 15 additions and 1 deletions

View File

@@ -20,7 +20,6 @@
duf
# Better top
htop
fzf
ncdu
ripgrep
tmux

View File

@@ -6,9 +6,22 @@
options = ["--cmd j"];
};
programs.fzf = {
enable = true;
enableFishIntegration = false;
};
programs.fish = {
enable = true;
plugins = [
{
# https://github.com/PatrickF1/fzf.fish
name = "fzf";
src = pkgs.fishPlugins.fzf-fish.src;
}
];
shellInit = ''
set --universal fish_greeting
set -g -x EDITOR "emacsclient"
@@ -21,6 +34,8 @@
# TODO - Adjust for nix-managed Doom if I ever do that
fish_add_path ~/.emacs.d/bin
fzf_configure_bindings --history=\cr --directory=\ef --git_status=\es
'';
shellAliases = {