Open ruzito opened 2 months ago
The readme is auto-generated with ChatGPT or similar, and yes it's completely wrong.
The script intentionally defines a function, you're supposed to source it in your shell's config file, for example put . path/to/extract.sh
in ~/.bashrc
.
Mine is:
source ~/.local/bin/extract.sh
alias x=extract
Hello correct me if I'm wrong but,
PATH=script_dir/extract.sh:$PATH
seems highly irregularI propose to change the
README.md
so that the installation step of adding the file to path is:(
"$PATH"
so that any possible preexisting spaces in the path are properly escaped) and that theextract.sh
has an additional line: