about summary refs log tree commit diff stats
path: root/hosts/_unmaintained/marduk
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-02 23:47:19 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-02 23:47:19 +0100
commit54b7de4d1f1a73f212f176e477f02afec54e74cc (patch)
treecc677107bda5bb5b109849b4ad481d1883423077 /hosts/_unmaintained/marduk
parentfix(modules/lf/commands/trash_restore): Depend on `gawk` not `gaw` (diff)
downloadnixos-config-54b7de4d1f1a73f212f176e477f02afec54e74cc.zip
fix(modules/lf/commands/): Correctly modify `$@` when in a while read loop
Previously, I just piped into the loop which resulted in it becoming a
subshell (i.e., all variable assignments were local to that loop.)
The only way to work around this in POSIX shell is via temporary files,
like implemented in the `base.sh` `tmp` function.

I'd hoped to finally rid myself of these, when migrating away from the
sysLib, but I see no other way to achieve the desired result.
Diffstat (limited to 'hosts/_unmaintained/marduk')
0 files changed, 0 insertions, 0 deletions