diff options
author | Soispha <soispha@vhack.eu> | 2024-02-23 21:17:39 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-23 21:18:48 +0100 |
commit | f14e1735506da281d323e6c36cf62c35f8abf0bd (patch) | |
tree | dc9f7a537cce53cb014cfd613cd8859de36f71da /hm/soispha/conf/lf/commands/scripts | |
parent | feat(hm/pkgs/git-edit-index): Init (diff) | |
download | nixos-config-f14e1735506da281d323e6c36cf62c35f8abf0bd.zip |
feat(hm/conf/lf): Add a `execute` subcommand
Diffstat (limited to 'hm/soispha/conf/lf/commands/scripts')
-rwxr-xr-x | hm/soispha/conf/lf/commands/scripts/execute.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/hm/soispha/conf/lf/commands/scripts/execute.sh b/hm/soispha/conf/lf/commands/scripts/execute.sh new file mode 100755 index 00000000..601acbb8 --- /dev/null +++ b/hm/soispha/conf/lf/commands/scripts/execute.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env dash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH + +# shellcheck disable=SC2269 +f="$f" +# shellcheck disable=SC2269 +fx="$fx" +# shellcheck disable=SC2269 +fs="$fs" +# shellcheck disable=SC2269 +id="$id" + +dir="$(realpath "$f")"; + +"$dir" + +# vim: ft=sh |