diff options
-rw-r--r-- | user/settings/fish.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/user/settings/fish.nix b/user/settings/fish.nix index a487418c..cfefa9ff 100644 --- a/user/settings/fish.nix +++ b/user/settings/fish.nix @@ -9,10 +9,18 @@ fromNixpkgs = pkg: { name = pkg.name; src = pkg.src; }; in with pkgs.fishPlugins; [ - (fromNixpkgs tide) (fromNixpkgs fzf-fish) (fromNixpkgs autopair) { + name = "fishplugin-hydro"; + src = pkgs.fetchFromGitHub { + owner = "alanpearce"; + repo = "hydro"; + hash = "sha256-QYq4sU41/iKvDUczWLYRGqDQpVASF/+6brJJ8IxypjE="; + rev = "7a8c468ba0dc88a5f8a9c0b8635020bfc3619323"; + }; + } + { name = "ghq"; src = pkgs.fetchFromGitHub { owner = "decors"; @@ -31,6 +39,8 @@ set FZF_CTRL_T_COMMAND set --export FZF_DEFAULT_OPTS '--cycle --layout=reverse --border --height=90% --preview-window=wrap --marker="*"' fzf_configure_bindings --directory=\cx\cf + + set --universal hydro_multiline true ''; shellAliases = { hist-freq-lines = lib.mkForce "history | sort | uniq -c | sort -gr | head -n100 | less"; |