Open lamyergeier opened 9 months ago
user functions dont work in shell scripts (shell scripts can't use user aliases either)
i'd create a file in your $PATH called mpv
that just does exactly what your function does, and give it execute permissions.
Something that might be related... I have installed mpv in NixOS using home-manager, and have specified a couple of scripts to be installed as well. Running mpv from the commandline works fine, and the scripts are working as well. However, when mpv is called from ytfzf, it runs ok but the scripts are not running.
Something that might be related... I have installed mpv in NixOS using home-manager, and have specified a couple of scripts to be installed as well. Running mpv from the commandline works fine, and the scripts are working as well. However, when mpv is called from ytfzf, it runs ok but the scripts are not running.
I already filed this a while ago: https://github.com/pystardust/ytfzf/issues/700 This also describes a solution to this which I found perfectly acceptable.
Describe the bug
To Reproduce
Expected behavior
Screenshots
Information
OS: Fedora 39 Terminal: bash Ytfzf version: 2.6.1 Output of readlink $(which sh): bash
ytfzf --thumbnail-log=log.txt
and post the file:Additional context