dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 7eef9d603214cf2f90d7b782a6d0009edeec11e0
parent 6fc3dd7e69c150ee0b103bea1093eb3d1c975ed8
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 22 Nov 2021 19:07:01 +0100

lf: fix paste command mistake in batch_rename

Diffstat:
Mlf/lfrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lf/lfrc b/lf/lfrc @@ -59,7 +59,7 @@ cmd batch_rename !{{ dircontents="$(command ls -1p)" printf "%s" "$dircontents" | nl -n ln > "$contentsfile"; $EDITOR "$contentsfile" - printf "%s" "$dircontents" | paste "$contentsfile" -d'\t' - \ + printf "%s" "$dircontents" | paste -d '\t' "$contentsfile" - \ | while read -r line; do orig="$(printf "%s" "$line" | cut -f3 | sed 's!/$!!')" new="$(printf "%s" "$line" | cut -f2 | sed 's!/$!!')"