

22·
1 day agoDon’t Python scripts need python
at the beginning of the command that summons them?
Alternatively, you can make an alias to ~/.bashrc:
alias yt-dl="python3 /path/to/yt-dlp [options] "
And replace [
for flags you may want to always use, if any. Or delete if you just want the raw script to be tied to a terminal command. ]
Then reload .bashrc by running either source .bashrc
or . .bashrc
Wasn’t aware of that. Thanks for explaining!