FZF support in fish
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
duf
|
duf
|
||||||
# Better top
|
# Better top
|
||||||
htop
|
htop
|
||||||
fzf
|
|
||||||
ncdu
|
ncdu
|
||||||
ripgrep
|
ripgrep
|
||||||
tmux
|
tmux
|
||||||
|
|||||||
@@ -6,9 +6,22 @@
|
|||||||
options = ["--cmd j"];
|
options = ["--cmd j"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = false;
|
||||||
|
};
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
{
|
||||||
|
# https://github.com/PatrickF1/fzf.fish
|
||||||
|
name = "fzf";
|
||||||
|
src = pkgs.fishPlugins.fzf-fish.src;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
set --universal fish_greeting
|
set --universal fish_greeting
|
||||||
set -g -x EDITOR "emacsclient"
|
set -g -x EDITOR "emacsclient"
|
||||||
@@ -21,6 +34,8 @@
|
|||||||
|
|
||||||
# TODO - Adjust for nix-managed Doom if I ever do that
|
# TODO - Adjust for nix-managed Doom if I ever do that
|
||||||
fish_add_path ~/.emacs.d/bin
|
fish_add_path ~/.emacs.d/bin
|
||||||
|
|
||||||
|
fzf_configure_bindings --history=\cr --directory=\ef --git_status=\es
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
|||||||
Reference in New Issue
Block a user