pkgxdev / pkgx

run anything
https://pkgx.sh
Apache License 2.0
8.95k stars 1.36k forks source link

Fix dev off when environment is not active #979

Closed felipecrs closed 3 weeks ago

felipecrs commented 7 months ago

Which was previously throwing _pkgx_dev_off not found.

And also make sure to pass rm -f as some people alias rm to rm -i, which can come from the popular OMZ common-aliases: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/common-aliases#file-handling

jhheider commented 7 months ago

And also make sure to pass rm -f as some people alias rm to rm -i, which can come from the popular OMZ common-aliases: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/common-aliases#file-handling

could also just be explicit about /bin/rm to avoid dealing with aliases.

felipecrs commented 7 months ago

could also just be explicit about /bin/rm to avoid dealing with aliases.

Right, or better yet command rm. But I find rm -f nicer.

Of course, let me know if you want me to change it.

mxcl commented 3 weeks ago

We should be explicit with /bin/rm will patch that in after.