add fishAliases
This commit is contained in:
@@ -23,6 +23,31 @@
|
|||||||
'';
|
'';
|
||||||
agu = "pkill gjs & ags run ~/.config/nixos/pkgs/ags/biscuit/app.ts & disown (jobs -p) &";
|
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.
|
allowUnfree = true; # allows installation of commercial apps.
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|
||||||
'';
|
'';
|
||||||
shellAliases = terminal.shellAliases;
|
shellAliases = terminal.fishAliases;
|
||||||
|
|
||||||
plugins = with pkgs.fishPlugins; [
|
plugins = with pkgs.fishPlugins; [
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user