add fishAliases

This commit is contained in:
lsoriano-mcm
2025-06-09 10:07:38 -05:00
parent b3e0e3e76f
commit fee08ad3d2
2 changed files with 26 additions and 1 deletions
+25
View File
@@ -23,6 +23,31 @@
'';
agu = "pkill gjs & ags run ~/.config/nixos/pkgs/ags/biscuit/app.ts & disown (jobs -p) &";
};
fishAliases = {
shellAliases = {
ls = "ls --color=auto";
};
functions = {
update = {
body = ''
if test (uname) = "Darwin"
sudo darwin-rebuild switch --flake ~/.config/nixos#macos
else
sudo nixos-rebuild switch --flake ~/.config/nixos#desktop; and home-manager switch --flake ~/.config/nixos#desktop
end
'';
};
agu = {
body = ''
pkill gjs
ags run ~/.config/nixos/pkgs/ags/biscuit/app.ts &
disown (jobs -p)
'';
};
};
};
};
allowUnfree = true; # allows installation of commercial apps.
+1 -1
View File
@@ -12,7 +12,7 @@
zoxide init fish | source
'';
shellAliases = terminal.shellAliases;
shellAliases = terminal.fishAliases;
plugins = with pkgs.fishPlugins; [
];