diff --git a/chezmoi/dot_zshrc.d/executable_camera.zsh b/chezmoi/dot_zshrc.d/executable_camera.zsh index 92ca1de..d388b14 100644 --- a/chezmoi/dot_zshrc.d/executable_camera.zsh +++ b/chezmoi/dot_zshrc.d/executable_camera.zsh @@ -5,7 +5,7 @@ if command -v mpv &> /dev/null && command -v fzf &> /dev/null; then set -euo pipefail printf "%s\0" /dev/video* | - fzf --print0 --read0 -m -1 --height="$((LINES/4))" | + fzf --print0 --read0 --query "${1:-}" -m -1 --height="$((LINES/4))" | xargs -0 -P 0 -I {} mpv \ -vf=hflip \ --demuxer-lavf-format=video4linux2 \