User Controls
Favorite shell?
-
2016-05-24 at 12:32 AM UTCAnd if you're going to say Windows shell at least make it powershell cuz dang, it's a helluva thang, which makes it a bit hard to get into as well, which is a shame because itÅ› very versatile on the Windows platform. Anyway, personally i haven tried tham all, but from the shells i have used i've got to say i think Bash is my favourite, for general and shellscripting purposes, i even got an e-book concerning the commandline but mostly focused on the scripting capabilities that bash provides, i guess it kinda got stuck with me. Oh talk about Windows and Bash, i heard micrococks is working on integrating bash with windows, complete with package manager and everything. They literally should have done this 10 years ago however, but you know micrococks, it takes them a long time to integrate good ideas originally developed for different OS'.
So tell me, what's your favorite shell? -
2016-05-24 at 2:12 AM UTCzsh is one of the first things I install on a dev machine. I don't do too much with it above and beyond it's bash compat, mostly some prompt ricing and its vi emulation, although the latter is pretty shit on the whole, it's better than nothing. I have this fantasy of writing a shell that's runs vim in a subproc (so it loads your .vimrc) and shuttles keystrokes and visual state back and forth from the shell. Also adding some s-expression syntax to disambiguate multi-line constructs hopefully making editing them something better that a total nightmare.
-
2016-05-24 at 2:28 AM UTC
zsh is one of the first things I install on a dev machine. I don't do too much with it above and beyond it's bash compat, mostly some prompt ricing and its vi emulation, although the latter is pretty shit on the whole, it's better than nothing. I have this fantasy of writing a shell that's runs vim in a subproc (so it loads your .vimrc) and shuttles keystrokes and visual state back and forth from the shell. Also adding some s-expression syntax to disambiguate multi-line constructs hopefully making editing them something better that a total nightmare.
Yet you can't properly code / configure a vBulletin site kek -
2016-05-24 at 7:07 AM UTC
-
2016-05-24 at 4:01 PM UTC
Yet you can't properly code / configure a vBulletin site kek
Yet you fail to realize Lanny has nothing to prove and is merely hosting the forums for our benefit.zsh is one of the first things I install on a dev machine. I don't do too much with it above and beyond it's bash compat, mostly some prompt ricing and its vi emulation, although the latter is pretty shit on the whole, it's better than nothing. I have this fantasy of writing a shell that's runs vim in a subproc (so it loads your .vimrc) and shuttles keystrokes and visual state back and forth from the shell. Also adding some s-expression syntax to disambiguate multi-line constructs hopefully making editing them something better that a total nightmare.
Prompt riching? You mean like expansion? Or customisation? Also, that's a good thought, just write your own shell, makes you appreciate the complexity of the shell as a whole i imagine. In general, what language is a shell written in? I know i've seen them in all kinds of languages. But for some reason i tend to imagine a proper shell isn't written in a high level language, even though it's possible to make system calls in python for example. -
2016-05-24 at 4:25 PM UTC
Yet you fail to realize Lanny has nothing to prove and is merely hosting the forums for our benefit.
Observation and commentary are not indicators of realization failure.
vBul is super simple to setup. My point is it hurts the admin's credibility as a tech guru when he fails to address some of his own site's shortcomings. If that doesn't matter, then it doesn't matter. Nothing we discuss here really matters anyway.
None of the past iterations had anything to prove. They existed purely for your benefit. -
2016-05-24 at 4:56 PM UTC
vBul is super simple to setup.
I am aware, to be fair though, vBul5 is a little buggy out of the box. That aside;My point is it hurts the admin's credibility as a tech guru when he fails to address some of his own site's shortcomings. If that doesn't matter, then it doesn't matter. Nothing we discuss here really matters anyway.
There's a certain irony to it i won't deny and i get your point. But i don't solely judge his credibility as a tech guru by the functionality of the site. I may be biased because i dick around in T&T a lot, but in my experience as far as programming or general tech enquiries go, Lanny alway has something interesting or useful to add to the conversation. -
2016-05-25 at 5:27 AM UTC
Prompt riching? You mean like expansion? Or customisation?
Just the prompt line, like the jazz that precedes the "$". It includes git branch info, vim-mode status readout, and a custom notation I use to orient where I am. cwd in my prompt cuts off after 24 characters so on an 80-wide terminal it's still readable, but I work on like 3 different SVN branches with a deep file hierarchy so it's hard to tell at a glance which branch I'm on. So if I'm in one of those SVN branches it reads out a compact breakdown of which branch and part of the hierarchy I'm in.Also, that's a good thought, just write your own shell, makes you appreciate the complexity of the shell as a whole i imagine. In general, what language is a shell written in? I know i've seen them in all kinds of languages. But for some reason i tend to imagine a proper shell isn't written in a high level language, even though it's possible to make system calls in python for example.
Most your classic shells (bash, borne, ksh) and bash-like shells (zsh, fish) are written in C. There isn't any particular reason really, OSs are still largely written in C and a shell's pretty much the first userland program you're going to write so chances are a given shell author is going to be a C programmer. Also the OS docs are going to be in C if anything and you work with them a lot in writing a shell. Also on resource constrained systems spinning up an interpreter for each shell could be prohibitive.
There are plenty of examples of shells written in high level languages, but none are particularly popular as far as I'm aware.vBul is super simple to setup. My point is it hurts the admin's credibility as a tech guru when he fails to address some of his own site's shortcomings. If that doesn't matter, then it doesn't matter. Nothing we discuss here really matters anyway.
I'm not particularly concerned with my credibility as a tech guru, I've only ever claimed to be a code monkey. I'll also point out I didn't write vB5, and PMs being busted isn't a config issue. -
2016-05-26 at 6:35 AM UTCThe three seashells.