Replies: 1 comment 18 replies
-
|
See #260 |
Beta Was this translation helpful? Give feedback.
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A sabbrev function to automatically detect and replace a executable command (without suffix) to match available commands with a list of suffix (configurable)
Eg: run-tests can match run-tests.sh
This behaviour is especially helpful in WSL when .exe files are valid executables and this makes it much easier to use windows based commands
Eg: wsl -> wsl.exe
This should expand either on space or when executing without having the exact same command.
This looks similar to how #421 (reply in thread) is implemented to recreate the autocd behaviour.
I currently use the below code as a workaround, but it completely breaks the code highlighting and is only restricted to .exe suffix which can be fixed with some tweaks but the syntax highlighting is still broken.
Beta Was this translation helpful? Give feedback.
All reactions