From ac6e12ec99508e1d5c17447859ca6639f991c475 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 23 Oct 2024 08:19:13 +0100 Subject: [PATCH] Rename gsync/esync -> sync-git/emacs respectively Realised there's a real program in the GNU coreutils called gsync so wanted to avoid a collision --- system/home/scripts/default.nix | 4 ++-- system/home/scripts/shell/{esync.sh => sync-emacs.sh} | 0 system/home/scripts/shell/{gsync.sh => sync-git.sh} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename system/home/scripts/shell/{esync.sh => sync-emacs.sh} (100%) rename system/home/scripts/shell/{gsync.sh => sync-git.sh} (100%) diff --git a/system/home/scripts/default.nix b/system/home/scripts/default.nix index 90d0c9fc..e860aa6a 100644 --- a/system/home/scripts/default.nix +++ b/system/home/scripts/default.nix @@ -1,9 +1,9 @@ { pkgs, ... }: { home.packages = [ + (pkgs.writeShellScriptBin "sync-git" (builtins.readFile ./shell/sync-git.sh)) + (pkgs.writeShellScriptBin "sync-emacs" (builtins.readFile ./shell/sync-emacs.sh)) (pkgs.writeShellScriptBin "ensure-pass" (builtins.readFile ./shell/ensure-pass.sh)) - (pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh)) - (pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh)) (pkgs.writeShellScriptBin "clean-config" (builtins.readFile ./shell/clean-config.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)) diff --git a/system/home/scripts/shell/esync.sh b/system/home/scripts/shell/sync-emacs.sh similarity index 100% rename from system/home/scripts/shell/esync.sh rename to system/home/scripts/shell/sync-emacs.sh diff --git a/system/home/scripts/shell/gsync.sh b/system/home/scripts/shell/sync-git.sh similarity index 100% rename from system/home/scripts/shell/gsync.sh rename to system/home/scripts/shell/sync-git.sh