3 ms·
I agree and think the best fix would be if the syntax would be forbidden in bash/zsh. Problem is: Millions of code snippets on the Internet not using env.
by jhasse 9y ago
I agree and think the best fix would be if the syntax would be forbidden in bash/zsh. Problem is: Millions of code snippets on the Internet not using env.
- nine_k 9y agoFor one-liners, typing `env ` before pasting is likely not too much work. For longer scripts, you'd have to rewrite much of the text anyway.
- jhasse 9y agooften there's stuff like cd build && LD_LIBRARY_PATH=../lib ./foo :/ It's no dealbreaker though, I still use fish and love it :) Just a minor annoyance ;)