I once had the misfortune of having to read zsh source code…
In unrelated news I no longer use zsh.
People with deep knowledge of string instruments and/or shell languages are rapidly approaching your location.
lmao. know anyone who’s hiring a terminal junkie? i need to get paid to use my computer all day fr
But… they literally used that post to tell people they play both the violin and the viola…
I just use fish, I never really had the need for ultra-customization. But I do admire stuff from places like !unixporn@lemmy.world.
I use nushell, returning to a normal shell is starting to feel weird ngl
i need to get familiar with fish. i’ve studied the syntax but i still have hardly used it, and if you really want to learn how to code something, you gotta keep typing it until it’s in your muscle memory.
While I do like fish syntax, you don’t really need to learn it. You can just use it for your interactive use in the terminal while writing your scripts in bash.
This is the way. I’ve never even attempted to script anything in
fish, but it’s just a great interactive shell OOTB. I think at most I have a colorscheme and an alias or 2.this is basically what I did until I dropped fish for zsh because of annoyances with how it functioned.
Scripting in fish is obnoxious though if you learned bash first, heavily recommend staying far away 😂
Hard recommend staying in bash or at least zsh, at least you maintain compatibility with others if you ever decided to share your scripts.
I tried using zsh again after having used fish for a while, but I just couldn’t do it. Trying to configure the ergonomics that fish ships OOTB into zsh was a pain, and I couldn’t get it to a satisfactory level.
Regarding scripts, you don’t have to use the fish scripting language. Just keep writing your scripts in Bash, and as long as you use a shebang, it’ll work fine in fish.
Yeah that’s what I do to, I don’t need to write complex scripts anyway. Fish’s syntax seems interesting though.
zsh autocomplete and color defaults were presumably set up by an lsd fan
i’m all about oh-my-zsh. I mostly like it because it loads a random theme every time you run
source ~/.zshrc, so you get exposed to a lot of different themes, so you can pick one that looks really nice. The one I’ve gone with was the most minimalist theme I could find.export ZSH_THEME="miloshadzic"OMZ is overrated. It’s too much code for too little effect when most of the plugins boil down to aliases and prompt themes, and all you have to do is
sourcethem in your .zshrc anyway.I am by no means saying that the plugins and themes are useless. I’m saying that OMZ is unnecessary.
the only thing i like about oh-my-zsh is the random themes, i seriously have no idea what else it does
Meh, I find OMZ a bit too opinionated.
antidote with the right plugins + starship with the right prompt builder beats anything.
Fish + starship 🤌
In my opinion - and yes I know it’s punny - fish also belongs in the “too opinionated” category.
It’s not a bad shell but overall I found it to be quite reluctant to work the way you want it, if that isn’t the way the developer meant it to be used. Which is fine, but again, it means that fish is opinionated.
I tried to learn it, but failed. Looks like I’d love to use both, but I have no idea where to start. Any suggestions?
It might be easiest to work backwards with starship, see how it integrates with fish then see how to run fish.
Then install fish, add starship to it.
99% of my usage is around how it helps me navigate the terminal, I use bash for all my scripts lmao
deleted by creator
Dude, people still think vi is important skills. I know ‘ed’, so the rest is just a waste.
For that matter, just use cat, and be free of vietnam-era cult shit.
My favorite use of
catis hiding malware in images and gifs. Don’t worry, I’ve never actually deployed any malware over social media, I just know how to usecat(and a few other things) to do it.Any writeup about how this works?
The technique is called steganography, and the product is called stegomalware. The payload is concealed as part of some legitimate file, like the pixel data of an image file. It requires the reader software on the targeted system to already be infected, or to have a vulnerability that the payload can exploit.
Low Level video: https://www.youtube.com/watch?v=89ysXVYH2Sk (one more reason to hate Webp)
Quick example by John Hammond: https://www.youtube.com/watch?v=JBIbL8zwZOs
Some image formats will ignore junk data after the image. So you can probably run
cat image.png message.txtto embed text in image files, although I haven’t tried this myself.
I like yash
I mean, I don’t think I’d ever voluntarily admit that I can read that stupid C clef…








