JustineSmithies, to voidlinux
@JustineSmithies@fosstodon.org avatar

If all goes well with my install tomorrow I might be tempted to give a try instead of my usual trusty ?
Anyone want to chime in with reasons for and against zsh ?

JustineSmithies,
@JustineSmithies@fosstodon.org avatar

Oh no if I did jumpt ship to I currently use Starship prompt but I see there is also Spaceship prompt specifically for ZSH.
Anyone use the later and is it better to use than Starship ?

https://spaceship-prompt.sh/

JustineSmithies,
@JustineSmithies@fosstodon.org avatar
nixCraft, to linux
@nixCraft@mastodon.social avatar

This , , , shell feature comparison table shows that ZSH and FISH have the most features. Why aren't you using ZSH or FISH yet?

wuffel,
@wuffel@social.tchncs.de avatar

@nixCraft

Oh my 💚
Lazyness is the mother of all progress.

bagder, to random
@bagder@mastodon.social avatar

Making it harder to do wrong

is written in C. We try to write better C to reduce the risk of future vulnerabilities.

https://daniel.haxx.se/blog/2023/12/13/making-it-harder-to-do-wrong/

kkarhan,
@kkarhan@mstdn.social avatar

@hramrach @bagder if you think is horrible (I assume you use and/or - which then yes that is a valid argument) then please take a look at , or the original and tell me that's readable.

Tangents aside: Bash, for better or worse, is the for and since I want OS/1337 to be "self-reproducing" / "self-hosting" with as little dependencies as possible, I'm stuck with it.

@OS1337

qlp, to linux
@qlp@linh.social avatar

Been having fun crafting zsh dotfiles that can be used on both my Linux laptop and on my MacBook Pros (two that are Intel-based and one that is Apple Silicon-based).

Having to do a few tests for paths and archs and all that fun stuff. Also, have to work around having Homebrew on my Macs and no Homebrew on the Linux laptop.

😵‍💫

wraptile, to linux
@wraptile@fosstodon.org avatar

after a day of playing around with all shells:

  • is awesome but a bit clunky
  • is great, will probably be my runner
  • very similar to nushell but treats everything as a Python objects instead of tables. Will come back to this one. No install yet.
  • as good as it gets for classic shells
  • , - no real reason to run it unless you're locked into bash ecosystem
  • - couldn't get it to work but there's a lot of good work here. Next time.
mms, to vim Polish
@mms@emacs.ch avatar

question: in zsh vim mode. press "esc" to go to normal mode - all is great. Then i to edit mode - great! Now esc again and H runs "run-help". How to disable it?:)

z428, to vim

(Re-occurring reminder: It's nice to see you're able to tweak the living s__t out of your , or whatever terminal-based tools you admire for your daily workflow. Maybe this will make you a Linux admin guru. And yet, you'll make a total fool out of yourself by failing to get along well with a remote Debian machine, being forced to use just a plain bash shell, vanilla vi and no permissions to install any additional software or extensions here. Know the basics. Period.)

adamchainz, to random
@adamchainz@fosstodon.org avatar

Oh my! I am Glad to have helped stan oh-my-zsh in my new book, and to have contributed. 🐚

https://x.com/robbyrussell/status/1725594950115696798

jimgar, to random

I must wash my mouth out with soap!!

In my latest blog post about zsh I erroneously stated that while VS Code supports changes to the terminal, RStudio doesn't.

That's a load of horse shit. Of course it supports it, and it takes all of 3 clicks to make zsh the default terminal, including with your Oh My Zsh setup etc.

Post updated to show how it's done.

https://jimgar.github.io/posts/zsh-tosh-pretty-terminal/post.html

LateNightLinux, to random
@LateNightLinux@mastodon.cloud avatar

Using open source software to get paid for using electricity, automatically formatting your terrible Python code, speeding up Zsh, a couple of ways to get notifications, M1 Macbook Air problems, an epic ThinkPad collection, and more.

https://latenightlinux.com/late-night-linux-episode-255/

nicemicro,
@nicemicro@fosstodon.org avatar

@LateNightLinux I think the proper pronunciation for should be "zeesh". The "SH" stands for "shell", so instead of spelling out "ess-heich", why not just say the "sh" sound somehow, like how bash isn't "Bee Ai Ess Heich".

English is hard. You guys should include "Th", "Sh", "Ch", etc. in your alphabet as distinct things. In the Hungarian alphabet we call "cs" and "sz" and "dz" as letters by themselves, because they are used to denote single sounds.

jwz, to random
@jwz@mastodon.social avatar

How did Apple manage to break redirects on all versions of bash?

macOS 14.1.1# echo $0 $BASH_VERSION; cd /nope 2>&-
/bin/bash 3.2.57(1)-release.
bash: cd: /nope: No such file or directory

macOS 14.1.1# echo $0 $BASH_VERSION; cd /nope...
https://jwz.org/b/ykGM

cazabon,

@jwz

I have had other weird problems with bash on a work .

All I can think is that once changed the default to , they stopped caring about - but it doesn't explain breakage like this.

juandesant, to til
@juandesant@astrodon.social avatar

Today I learned how to split a variable with multiple lines for a Bash/ZSH script. I was using the previously mentioned mdb-query package, and I have a variable named tables with the different tables, separated by returns. When I fried to do for table in $tables; do echo $table; done, it did not split the lines.

I got the right output with

while IFS= read -r table; do $table; done <<< $tables

The spacing is important!

From https://superuser.com/a/284226/199266

#TIL #Bash #ZSH #scripting #POSIX

orsinium, to linux
@orsinium@fosstodon.org avatar

Today I got some time to find out why my takes a noticeably long time to start. The offender was . As I removed it, the time got down from 450ms to 60ms.

To time startup of zsh vs bash:

$ for i in $(seq 1 10); do /usr/bin/time bash -i -c exit; done

$ for i in $(seq 1 10); do /usr/bin/time zsh -i -c exit; done

To find how long each plugin takes at startup, add zmodload zsh/zprof at the top of ~/.zshrc and zprof at the bottom.

glyph, to Bash
@glyph@mastodon.social avatar
chirpbirb, to Powershell
@chirpbirb@meow.social avatar

real question: what are the benefits of using over something like or ?

emmmaaaaa, to random
@emmmaaaaa@wetdry.world avatar
kkarhan,
@kkarhan@mstdn.social avatar

@emmmaaaaa I don't think so...

I've yet to meet a transfem computer nerd that likes .

I know a lot that like and - some even and even one that likes vintage shells but none that like PowerShell because is cringe af.

nixCraft, to random
@nixCraft@mastodon.social avatar
fredds,
@fredds@mamot.fr avatar

@nixCraft storie of my life... And then, I discovered 😁

tripplehelix, to random
@tripplehelix@fosstodon.org avatar

Spent the day switching from to , actually much simpler than I thought. Also super easy to transfer config compared to zsh+omz.

troz, to macos
@troz@mastodon.social avatar

Man Reader - my Mac app for reading Terminal command man pages - has finally had its long awaited update. The new version is now waiting for review.

Currently, Man Reader costs USD 4.99 or the local equivalent. I will be increasing this to USD 9.99 when the update is released, so if you want to save some money, buy it now and get the upgrade at half-price.

http://itunes.apple.com/app/man-reader/id522583774?mt=12

e38383, to random

TIL: noglob. This is a game changer to not always have to "repair" my stupid command lines (without correct quoting):

❯ echo foo4bar | grep [0-9]
zsh: no matches found: [0-9]
❯ echo foo4bar | noglob grep [0-9]
foo4bar

santiago, to random
@santiago@masto.lema.org avatar

Sometimes I go back to OhMyZSH doc and remember (again) the wonderful take command.

It just makes a directory with intermediary subdirs and enters it. Such a simple time saver.
https://github.com/ohmyzsh/ohmyzsh/wiki/Cheatsheet

lorendias, to Bash

It feels really weird using environment variables that are not even 1 day old yet.

Sometimes it's easy to forget how much the community innovates so quickly and it really is person to person where things get done.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • ngwrru68w68
  • Youngstown
  • everett
  • slotface
  • rosin
  • ethstaker
  • Durango
  • GTA5RPClips
  • megavids
  • cubers
  • modclub
  • mdbf
  • khanakhh
  • vwfavf
  • osvaldo12
  • cisconetworking
  • tester
  • Leos
  • tacticalgear
  • anitta
  • normalnudes
  • JUstTest
  • All magazines