Closed GiselleSerate closed 6 years ago
Oops I accidentally an enhancement. Sourcing gives an error but I think it's probably something I forgot to clean up somewhere. As of commit 65abd16012c40b95dcfa53d6a482da256c3002e1.
EDIT: and yes, I did use forks.
Completely debugged as of 4dd7bca2afcae396ba0c451ebe6dbec652f433cd.
@GiselleSerate, here's an alternative that I've used for a while.
ln -s "/mnt/c/Program Files/Sublime Text 3/sublime_text.exe" /usr/local/bin/subl
Doing it this way ensures that it won't hang your shell. I generally don't think we need aliases for these types of things, since this is nearly as convenient as defining a permanent alias.
In fact, you could probably even create a function for doing this for arbitrary executables. But you would probably have to check whether /usr/local/bin
is in $PATH
and if not, find a suitable alternative (perhaps like ~/bin
).
Maybe not forks (let's overapply 105 woo) but make it not need to occupy the terminal session.