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/apps/deprecated | |
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/apps/deprecated')
-rwxr-xr-x | home-manager/packages/scripts/apps/deprecated/riR/config | 4 | ||||
-rwxr-xr-x | home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/home-manager/packages/scripts/apps/deprecated/riR/config b/home-manager/packages/scripts/apps/deprecated/riR/config index b5607a16..fd6cbc89 100755 --- a/home-manager/packages/scripts/apps/deprecated/riR/config +++ b/home-manager/packages/scripts/apps/deprecated/riR/config @@ -1,6 +1,6 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH git_repo_home="$XDG_CONFIG_HOME"/git_repo [ -d "$git_repo_home" ] || mkdir "$git_repo_home" diff --git a/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR) b/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR) index 8a216b6b..8071dfa7 100755 --- a/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR) +++ b/home-manager/packages/scripts/apps/deprecated/riR/lf-move-fill(has_been_riR) @@ -1,7 +1,7 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH tmp=$(mktemp); out=$(mktemp); |