From 77c2190f004b4cb4d4ad9cf107a0a04a6c2454ee Mon Sep 17 00:00:00 2001 From: imbytecat Date: Mon, 13 Apr 2026 20:34:27 +0800 Subject: [PATCH] refactor(fish): use shellAliases for Atuin history compatibility, remove xh --- home/default.nix | 1 - home/shell/fish.nix | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/home/default.nix b/home/default.nix index 7963846..0c42634 100644 --- a/home/default.nix +++ b/home/default.nix @@ -28,7 +28,6 @@ duf # df procs # ps sd # sed - xh # curl/httpie jq # JSON yq # YAML wget diff --git a/home/shell/fish.nix b/home/shell/fish.nix index 79e996d..14b5492 100644 --- a/home/shell/fish.nix +++ b/home/shell/fish.nix @@ -18,10 +18,12 @@ in enable = true; shellAbbrs = { - # Navigation + # Navigation (one-shot, no need to recall in history) ".." = "cd .."; "..." = "cd ../.."; + }; + shellAliases = { # File listing (eza) ls = "eza --icons --group-directories-first"; ll = "eza -la --icons --git --group-directories-first"; @@ -34,9 +36,6 @@ in lg = "lazygit"; vi = "nvim"; - # Network - http = "xh"; - }; interactiveShellInit = ''