There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

JRepin ,
@JRepin@lemmy.ml avatar

Bash is my favourite one, second to it being Fish

JohnBon ,

Fish, without a doubt.

Tramort ,

How come?

offspec ,

It’s just so friendly and interactive

Red_sun_in_the_sky ,
@Red_sun_in_the_sky@lemmy.ml avatar

I used zsh, urxvt and konsole. I do prefer zsh. Urxvt is nice too.

69420 ,

I think you’re conflating shells and terminals.

Red_sun_in_the_sky ,
@Red_sun_in_the_sky@lemmy.ml avatar

I said I prefer zsh. I used terminals like urxvt when I used window managers. Urxvt + zsh works fine. On kde I didn’t mind using zsh + konsole. Hope that clears up.

loppy ,
DmMacniel ,

Uh. Whatever my distro comes with per default.

ReluctantMuskrat ,

I know I’m a heretic but I’m a huge powershell fan. Once you work with an object-oriented shell you’ll wonder why you’ve dealt with parsing text for so long. Works great on Linux, MacOS and Windows, it’s open source, reads and writes csv, json and xml natively, native web and rest service support, built-in support for remote computing and parallel processing and extensive libraries for just about anything you can think of. It takes a little getting used to but it’s worth it.

SnotFlickerman ,
@SnotFlickerman@lemmy.blahaj.zone avatar
Telorand ,

TBH, I use Powershell on my Windows install, and they’ve made some good improvements over the years. I forget that it also works on Linux.

Shame v1.0 ships with new installations, and you have to manually go out and install the latest versions to get the benefits. Dunno why MS doesn’t just automatically update it with everything else.

ReluctantMuskrat ,

Version 2 came with Windows 7. Version 5 comes with Windows 10 (and I think 11). V7 is the latest but being cross-platform doesn’t come with some of the Windows-specific modules built into v5.

laurelraven ,

V1 never actually shipped with any version of Windows

Windows 7 shipped with V2, 8 with V3, 8.1 with v4, and 10 with v5 and later 5.1.

5.1 is the latest (and last) version of Windows PowerShell.

All versions after that are just PowerShell (or PowerShell Core for version 6)

Not sure why they don’t bundle it by default, but starting at v7.2 it can be updated by Windows update

tankplanker ,

I use powershell by default on windows and I prefer it for scripting any day of the week vs. shell scripts. It’s not the fastest but you can always plug in .net to your scripts to dramatically improve performance. Sure, I could write the script in rust or whatever to make it even faster, but that’s way more work than I need for the lifespan of the script.

poinck ,

Even on Windows I try to avoid Powershell. I use bash through GitBash there, too. But, I don’t mind using Powershell for work, because some workflows are already implemented in ps1-scripts.

ving_thor ,

zsh with grml config because I’m too lazy to make my own config.

somethingsomethingidk ,

Bash is my login shell, but I have fish set as the default shell for alacritty

j4k3 ,
@j4k3@lemmy.world avatar

Slowly trying to learn sh while using mostly bash. Convenience is nice and all, but when I encounter something like OpenWRT or Android, I don’t like the feeling of speaking a foreign language. Maybe if I can get super familiar with sh, then I might explore prettier or more convenient options, but I really want to know how to deal with the most universal shell.

atzanteol ,

This is a good approach. I’ve always found it beneficial to learn “the standard things” than relying on a customized setup.

I’ve seen some people absolutely lost when they login to a system without 500 custom aliases on it…

SnotFlickerman ,
@SnotFlickerman@lemmy.blahaj.zone avatar

Wait, I’m supposed to choose my favourite of the three shells?

Is that how they work??

everett ,

Ctrl+F’d for this.

69420 ,

Is this a Demolition Man joke?

SnotFlickerman ,
@SnotFlickerman@lemmy.blahaj.zone avatar

Yes.

lnxtx ,
@lnxtx@feddit.nl avatar

Former zsh user. fish works for me.
For scripts I use bash tho.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Zsh, because unlike Bash using arrays in Zsh doesn’t make me want to perform percussive maintenance on the nearest Von-Neumann machine

palordrolap ,

I always figured that Ksh / POSIX / Bash shell arrays are kept as they are because anyone with a serious need of arrays ought to be using something better than a scripting language.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Not necessarily.
They’re a basic data structure used everywhere, most notably with command arguments ( $@ ) and can make shell scripts a viable option for many simple tasks if their syntax makes sense and you don’t have to wonder how their expansion works every time you see one being used.

palordrolap ,

An analogy:

My Swiss Army knife has a screwdriver on it. It's nice to have, and I even used it recently.

It juts out perpendicular to the middle of the knife's body though, making a literal " |- " shape, so for many applications it's too awkward for the job.

I also have a more traditional screwdriver. As and when I come to build a new PC, I don't think I'll be using the one on the knife.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Following the analogy, what if the screwdriver part was bent by 30° and you had to awkwardly turn the tool while keeping it tilted - but there’s also a spring mechanism that attempts to retract the screwdriver you push too hard against the screw?
(all of that for historical reasons, of course)
((or even to discourage you from using the tool?))

Buffalox , (edited )

xterm, because shortcut keys do what they are supposed to.

Edit:

Bash because it’s default.

clmbmb ,

xterm is not a shell

Buffalox ,

Ah OK, Bash because it’s default.

palordrolap ,

xterm is a terminal emulator, not a shell. Anything that produces a terminal-compatible text stream can be started as the first program.

e.g. xterm -e nano, assuming you have the nano editor installed, has no instance of a traditional shell (e.g. bash, zsh) running between the xterm and the editor, but the editor still works.

You could argue that makes the editor itself a shell of sorts, because it's interactive and you can do things with it, but it's still not the xterm that inherits that title.

Buffalox , (edited )

IDK if federations doesn’t work, I already wrote to another response that I use Bash.
Since the Amiga in the 80’s I considered CLI windows and Shell as the same thing,because they kind of were on the Amiga, as there was only 1 shell, and a CLI window was also called Shell. But that was obviously a misunderstanding I just never got quite rid of.

hanna ,

Eshell because it is consistent cross platform and I switch often for work/etc. Sometimes I’ll use bash when I really want a native shell.

I used fish before eshell and I really like it, the auto complete is nice, but eshell has autocomplete and since aliases and other configurations are in my emacs config, they sync cross platform too.

cbarrick ,

Zsh

No plugin manager. Zsh has a builtin plugin system (autoload) and ships with most things you want (like Git integration).

My config: github.com/cbarrick/dotfiles

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines