eza refactor
This commit is contained in:
@@ -38,14 +38,17 @@
|
|||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
shellAliases = let
|
||||||
ls = "eza --icons --git --smart-group --group-directories-first";
|
base-eza = "eza --icons --git --smart-group --group-directories-first";
|
||||||
ll = "eza --icons --git --smart-group --group-directories-first --long";
|
in {
|
||||||
la = "eza --icons --git --smart-group --group-directories-first --all";
|
ls = "${base-eza}";
|
||||||
lla = "eza --icons --git --smart-group --group-directories-first --all --long";
|
ll = "${base-eza} --long";
|
||||||
lt = "eza --icons --git --smart-group --group-directories-first --long --tree";
|
lg = "${base-eza} --group --long";
|
||||||
ltd = "eza --icons --git --smart-group --group-directories-first --long --tree -D";
|
la = "${base-eza} --all";
|
||||||
lt2 = "eza --icons --git --smart-group --group-directories-first --long --tree -L 2";
|
lla = "${base-eza} --all --long";
|
||||||
|
lt = "${base-eza} --long --tree";
|
||||||
|
ltd = "${base-eza} --long --tree -D";
|
||||||
|
lt2 = "${base-eza} --long --tree -L 2";
|
||||||
sr = "sudo reboot";
|
sr = "sudo reboot";
|
||||||
nf = "neofetch";
|
nf = "neofetch";
|
||||||
nxf = "nxfetch";
|
nxf = "nxfetch";
|
||||||
|
|||||||
Reference in New Issue
Block a user