Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch to Python 3 #3970
On newer systems (e.g., Debian stretch) no Python 2 flavor is installed by default, only Python 3 is. This means that the three Python scripts
fail to run, as the shebang looks for
If the scripts support both Python 2 and 3, a trick like http://stackoverflow.com/a/26056481 could be used.
I'm running fish 2.5.0-314-g7c66008.
Yes, they do.
Wow, that's amazing! Unfortunately, I don't think we want to rely on /bin/sh here and this won't work with fish script since IIUC we scan the entire file before execution (there'll be an invalid command name as soon as you have a
What we should do (and already do in __fish_config_interactive) is to change the fish functions that call these thing. You're not expected to call these directly anyway, since they need a bit of setup.
Of these, deroff is basically a library and only ever imported, so it doesn't need a change.