diff options
author | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
commit | 05e674a5d1a965040a6e030c617840c9d567f173 (patch) | |
tree | 113eb004a222be4f9f29f4df04582a19ffdc4052 /home-manager/packages/scripts/deprecated/git-init | |
parent | Feat(packages): Add my scripts (diff) | |
download | nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.tar.gz nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.zip |
Fix(packages): Don't use hardcoded library paths
Diffstat (limited to 'home-manager/packages/scripts/deprecated/git-init')
-rwxr-xr-x | home-manager/packages/scripts/deprecated/git-init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/packages/scripts/deprecated/git-init b/home-manager/packages/scripts/deprecated/git-init index fd1f5399..1d007b6f 100755 --- a/home-manager/packages/scripts/deprecated/git-init +++ b/home-manager/packages/scripts/deprecated/git-init @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH cp -R $HOME/.local/share/git-template/* "$(pwd)" [ -d ./.git ] || git init |