refactor(fish): use shellAliases for Atuin history compatibility, remove xh

This commit is contained in:
2026-04-13 20:34:27 +08:00
parent ed69dba1ca
commit 77c2190f00
2 changed files with 3 additions and 5 deletions
-1
View File
@@ -28,7 +28,6 @@
duf # df duf # df
procs # ps procs # ps
sd # sed sd # sed
xh # curl/httpie
jq # JSON jq # JSON
yq # YAML yq # YAML
wget wget
+3 -4
View File
@@ -18,10 +18,12 @@ in
enable = true; enable = true;
shellAbbrs = { shellAbbrs = {
# Navigation # Navigation (one-shot, no need to recall in history)
".." = "cd .."; ".." = "cd ..";
"..." = "cd ../.."; "..." = "cd ../..";
};
shellAliases = {
# File listing (eza) # File listing (eza)
ls = "eza --icons --group-directories-first"; ls = "eza --icons --group-directories-first";
ll = "eza -la --icons --git --group-directories-first"; ll = "eza -la --icons --git --group-directories-first";
@@ -34,9 +36,6 @@ in
lg = "lazygit"; lg = "lazygit";
vi = "nvim"; vi = "nvim";
# Network
http = "xh";
}; };
interactiveShellInit = '' interactiveShellInit = ''