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.
This commit is contained in:
parent
c9c0490cbf
commit
4a203cf657
2 changed files with 3 additions and 3 deletions
|
@ -5,4 +5,4 @@
|
||||||
# archived when downloaded.
|
# archived when downloaded.
|
||||||
|
|
||||||
# shellcheck disable=SC2029
|
# shellcheck disable=SC2029
|
||||||
ssh dietpi ./vidl "$@"
|
ssh dietpi '$HOME/bin/vidl' "$@"
|
||||||
|
|
|
@ -9,7 +9,7 @@ pkill -P $$ 2>/dev/null
|
||||||
rm "$FIFO_UEBERZUG" 2>/dev/null
|
rm "$FIFO_UEBERZUG" 2>/dev/null
|
||||||
mkfifo "$FIFO_UEBERZUG" >/dev/null
|
mkfifo "$FIFO_UEBERZUG" >/dev/null
|
||||||
trap cleanup EXIT 2>/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
|
cleanup
|
||||||
|
|
Loading…
Reference in a new issue