santinic / how2

AI for the Command Line
https://how2terminal.com
MIT License
5.71k stars 156 forks source link

Linux can't handle --no-deprecation argument in shebang. #78

Closed ctemplin closed 1 year ago

ctemplin commented 7 years ago

The entire string following the interpreter name is passed as a single argument to the interpreter.

Apparently there is no good solution for this yet.

My favorite workaround looks like this in my .bashrc:

alias how2='/usr/bin/env node --no-deprecation "$(which how2)"'