Auster

joined 2 years ago
[โ€“] Auster@lemmy.world 2 points 1 day ago

Wasn't aware of that. Thanks for explaining!

[โ€“] Auster@lemmy.world 0 points 2 days ago (2 children)

Don'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 [options] 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