Add shellAlias for git-sync-all -> gsa

This commit is contained in:
Evie Litherland-Smith 2024-07-30 06:34:11 +01:00
parent 24cd5ff271
commit 4f98a8cd93

View file

@ -1,10 +1,15 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = [ home = {
(pkgs.writeShellScriptBin "git-sync-all" packages = [
(builtins.readFile ./shell/git-sync-all.sh)) (pkgs.writeShellScriptBin "git-sync-all"
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/git-sync-all.sh))
(builtins.readFile ./shell/rsync-local-config.sh)) (pkgs.writeShellScriptBin "rsync-local-config"
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/rsync-local-config.sh))
(builtins.readFile ./shell/xdg-query-program.sh)) (pkgs.writeShellScriptBin "xdg-query-program"
]; (builtins.readFile ./shell/xdg-query-program.sh))
];
shellAliases = {
gsa = "git-sync-all";
};
};
} }