Open Alexander-Shukaev opened 10 years ago
Looks very interesting, especially the bash login hack :) I'll check if it terminates correctly under killablerprocess and if it does there is a very high chance it'll be integrated into SublimeREPL.
Thank you for contributing :+1:
Cool, thank you! :)
This makes me wonder, could one use Sublime syntax to implement ANSI colors in a console? Case in point: Vagrant + Puppet on Windows.
@emestee in theory you could, but I don't recall a way to leave control codes in the source text, but hide them from view. Maybe a modified font with some very narrow glyphs? I was doing insane hacks in SublimePTY to get colours working, I would love a simpler way...
SublimeANSI appears to be exaclty what @emestee needs.
Was this ever implemented? When I try to run lines from bash script, my sublime complains that
Cannot find REPL for 'shell.bash'
and in the list of available REPLs there is only shell, not bash or any other of those proposed here. 😞
Hello Sir,
First of all, good job, nice package, keep it up!
I'm writing with improvement for this package here. So, to begin with, I found the idea of
Shell
REPL a bit jerky. It combines 2 types of shells depending on platform, i.e.That's quite inflexible for everyone, and especially unfair for Windows users. Here are the reasons:
cmd
, butsh
exists as well (either fromMSYS
/MSYS2
orCygwin
);bash
too, and on Windows as well.What I propose is to remove
Shell
REPL, and introduce separateCommand Prompt
(for Windows only),Bash
(for all),Sh
orShell
again (for all). Please, take a look at the patch I'm sending you, it will give you an idea:Also see how I added support for login shells, while preserving the correct directory. I think it's much more natural to provide users with login shells, rather than barely interactive ones.
I've tested this patch and I'm currently using it.
Looking forward to your comments.