From 4f98a8cd932f8cd69f60a0eff1f8e9126613d97f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 30 Jul 2024 06:34:11 +0100 Subject: [PATCH] Add shellAlias for git-sync-all -> gsa --- home/scripts/default.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/home/scripts/default.nix b/home/scripts/default.nix index 2a534698..e6d5319c 100644 --- a/home/scripts/default.nix +++ b/home/scripts/default.nix @@ -1,10 +1,15 @@ {pkgs, ...}: { - home.packages = [ - (pkgs.writeShellScriptBin "git-sync-all" - (builtins.readFile ./shell/git-sync-all.sh)) - (pkgs.writeShellScriptBin "rsync-local-config" - (builtins.readFile ./shell/rsync-local-config.sh)) - (pkgs.writeShellScriptBin "xdg-query-program" - (builtins.readFile ./shell/xdg-query-program.sh)) - ]; + home = { + packages = [ + (pkgs.writeShellScriptBin "git-sync-all" + (builtins.readFile ./shell/git-sync-all.sh)) + (pkgs.writeShellScriptBin "rsync-local-config" + (builtins.readFile ./shell/rsync-local-config.sh)) + (pkgs.writeShellScriptBin "xdg-query-program" + (builtins.readFile ./shell/xdg-query-program.sh)) + ]; + shellAliases = { + gsa = "git-sync-all"; + }; + }; }