From 4a203cf657089a7bc25feb4aa4003430adcc20de Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 21 Apr 2021 11:09:33 +0200 Subject: [PATCH] vifm: Fix vifmrun script argument parsing Fixed invocations of vifm only passing through the first commandline option, now passes through everything correctly. Also fixed silencing of the stderr, stdout redirection. --- scripts/.local/bin/vidl | 2 +- vifm/.local/bin/vifmrun | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/.local/bin/vidl b/scripts/.local/bin/vidl index 7d5d785..0758055 100755 --- a/scripts/.local/bin/vidl +++ b/scripts/.local/bin/vidl @@ -5,4 +5,4 @@ # archived when downloaded. # shellcheck disable=SC2029 -ssh dietpi ./vidl "$@" +ssh dietpi '$HOME/bin/vidl' "$@" diff --git a/vifm/.local/bin/vifmrun b/vifm/.local/bin/vifmrun index 369273a..8ef1111 100755 --- a/vifm/.local/bin/vifmrun +++ b/vifm/.local/bin/vifmrun @@ -9,7 +9,7 @@ pkill -P $$ 2>/dev/null rm "$FIFO_UEBERZUG" 2>/dev/null mkfifo "$FIFO_UEBERZUG" >/dev/null trap cleanup EXIT 2>/dev/null -tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser bash 2>&1 >/dev/null & +tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser bash >/dev/null 2>&1 & -vifm $1 +vifm "$@" cleanup