fish: add common commands as functions
This commit is contained in:
parent
28903629d4
commit
221406d9a6
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ in
|
||||||
ls = "eza -lah --icons --git";
|
ls = "eza -lah --icons --git";
|
||||||
lss = "ls --total-size";
|
lss = "ls --total-size";
|
||||||
};
|
};
|
||||||
|
functions = {
|
||||||
|
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
|
||||||
|
deployNixberry = "nixos-rebuild switch --flake .#nixberry --target-host nixberry --use-remote-sudo --fast";
|
||||||
|
deployLoptland = "nixos-rebuild switch --flake .#loptland --target-host christophhollizeck.dev --use-remote-sudo --fast";
|
||||||
|
};
|
||||||
plugins = with pkgs.fishPlugins; [
|
plugins = with pkgs.fishPlugins; [
|
||||||
{
|
{
|
||||||
name = "forgit";
|
name = "forgit";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue