refactor(fish): use shellAliases for Atuin history compatibility, remove xh
This commit is contained in:
@@ -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
@@ -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 = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user