coderofsalvation/powscript

SHELL="$(echo $0)" in produced script - is this intended?

darrenldl opened this issue · 1 comments

The SHELL is being set to $(echo $0) in the produced script, but this means the SHELL just contains the script name at least if it's launched as ./script.sh, and causes problem whenever a program that uses SHELL is used(e.g. vim).

Is this an intended behaviour? Or am I missing something here or using it incorrectly?

Right I switched to the beta version and a lot of problems disappeared.

Closing issue.

(Ths project is really awesome btw, I still have no idea how this is possible.)