diff options
author | Alan Pearce | 2024-11-30 17:30:37 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-30 17:30:37 +0100 |
commit | 5b215b8a2d5f42566fb5b909178ddf32189b46d1 (patch) | |
tree | 953f34fa9edaa6d4a911df7c7e1d1377979de7c3 /user/settings | |
parent | 5ee0a24c3d5945e1964a2e28ac21080e802e6d46 (diff) | |
download | nixfiles-5b215b8a2d5f42566fb5b909178ddf32189b46d1.tar.lz nixfiles-5b215b8a2d5f42566fb5b909178ddf32189b46d1.tar.zst nixfiles-5b215b8a2d5f42566fb5b909178ddf32189b46d1.zip |
fish: switch prompt from tide to hydro
Diffstat (limited to 'user/settings')
-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"; |