fish: add common commands as functions

This commit is contained in:
Christoph Hollizeck 2025-04-30 17:19:59 +02:00
parent 0a05c69971
commit b5be08076d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 249300664F2AF2C7

View file

@ -42,6 +42,11 @@ in
ls = "eza -lah --icons --git";
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; [
{
name = "forgit";