From 0dc1d737703c07f338dd7d8aa624cad523fc172f Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Tue, 17 May 2022 12:00:57 -0400 Subject: [PATCH] Rename module commands --- README.org | 4 ++-- modules/hugo.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 9a56250..2390b50 100644 --- a/README.org +++ b/README.org @@ -696,12 +696,12 @@ Apply some configuration to the default settings: let mySiteDir = "/etc/dotfiles/docs/public/"; mySiteTgt = "ubuntu@chrishayward.xyz:/var/www/chrishayward"; - mySiteBuild = pkgs.writeShellScriptBin "my-site-build" '' + mySiteBuild = pkgs.writeShellScriptBin "site-build" '' pushd ${mySiteDir}../ > /dev/null && ${pkgs.hugo}/bin/hugo -v ; popd > /dev/null ''; - mySiteUpdate = pkgs.writeShellScriptBin "my-site-update" '' + mySiteUpdate = pkgs.writeShellScriptBin "site-update" '' ${pkgs.rsync}/bin/rsync -aP ${mySiteDir} ${mySiteTgt} ''; diff --git a/modules/hugo.nix b/modules/hugo.nix index b98fe50..52bff43 100644 --- a/modules/hugo.nix +++ b/modules/hugo.nix @@ -4,12 +4,12 @@ let mySiteDir = "/etc/dotfiles/docs/public/"; mySiteTgt = "ubuntu@chrishayward.xyz:/var/www/chrishayward"; - mySiteBuild = pkgs.writeShellScriptBin "my-site-build" '' + mySiteBuild = pkgs.writeShellScriptBin "site-build" '' pushd ${mySiteDir}../ > /dev/null && ${pkgs.hugo}/bin/hugo -v ; popd > /dev/null ''; - mySiteUpdate = pkgs.writeShellScriptBin "my-site-update" '' + mySiteUpdate = pkgs.writeShellScriptBin "site-update" '' ${pkgs.rsync}/bin/rsync -aP ${mySiteDir} ${mySiteTgt} '';