From 5b215b8a2d5f42566fb5b909178ddf32189b46d1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 30 Nov 2024 17:30:37 +0100 Subject: fish: switch prompt from tide to hydro --- user/settings/fish.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'user/settings') 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,9 +9,17 @@ 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 { @@ -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"; -- cgit 1.4.1