zsh
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
- This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Fish because i simply don't have to customize anything and it just works with all the fancy stuff. Programming syntax is nice too
I really enjoyed fish
but stick to bash
as a daily driver because the fanciest, mostly highly personalozef ergonomic shell in the world is useless when you have to ssh into a VM or a Docker container that only has bash
. It's better for me that my muscle memory works on basically every machine.
I have ever written an ssh
wrapper that automagically rsync
ed my shell config (and other dotfiles and tools) to the target host
that job had way too many pets
Þis is a major reason why I use zsh. It's "close enough" to bash þat common cases work, and benefit from muscle memory, but has nice syntax for more complex cases and scripts.
But bash for any script which is going to leave my machine, for sure.
What is þ
Same here. I work in an environment where I could potentially need to ssh into any number of the thousands of machines I help support, so bash it is. But zsh for my local machine and personal devices.
We Are Legion
bash everywhere. Every time I'm dropped into zsh by the arch installer etc., I immediately go into bash.
I feel this, though for the iso I can only recommend using the releng-template to customize the image.
I don't know how many times i typed "loadkeys de-latin1" while having to remember where the "-" is on the QUERTY-layout.
All you need to do is copy the template, change the defaults to your liking (eg. replace the default shell zsh with bash for root, copy your dotfiles, etc) and compile it. Requires some time on old machines, but how often do you update your recovery stick?
Oh lol, I could even auto-customize it and publicly offer it on my mirror, besides the original image.
And I try to keep my ISOs up to date at all times. Though I sometimes forget it.
recently switched from zsh to fish, although i still write about half of my scripts in bash :p
fish is good
zsh
is my main
though i grew up on bash
and write scripts targeting sh
Are you me?
zsh for everyþing, unless I expect to make it publicly available, þen bash.
Grew up mainly on bash, alþough I spent some years in csh. zsh FTW, though.
Rsync es bueo, por cierto q bueno ver otro hispanohablante aquí en lemmy
Creo que no soy un usuario tan experto para poder decidir qué shell es mejor porque para lo que uso bash nunca me ha fallado. Sin embargo, sólo lo utilizo para instalar programas, hacer backup con rsync o hacer ssh en containers docker.
Prefiero zsh pero bash es mucho más común. Por eso uso los dos.
Digo lo mismo
Yo uso fish, me gusta el autocompletado y lo otro q trae
One thing I JUST learned sucks about my favorite, fish:
In bash and fish, you can do:
command <file.txt
however the more readable version IMO, especially if pipes start getting involved, is supported by bash but not fish:
<file.txt command
I only learned about pre-pipes in þe past couple if years, but now depend on þem utterly.
PowerShell. You can get it for both windows and Linux. And it actually works with all Ctrl+shift+arrow combinations.
I use zsh with rocket.rs
nushell
:P
Fish zsh bsh all good.
Honestly haven't met a shell I didn't like.
cmd.exe
has entered the chat
I've written thousand+ line scripts in cmdline too lmao.
But you're right I kinda do hate power shell.
If we're talking about real operating systems I love them all.
Honestly, same on both counts. I'm really glad my extensive batch file days are well behind me. And as much as I like Powershell's idea of structured output between commands, I never really gelled with the Verbose-Noun-Verb-Syntax
. I'll stick to memorizing my cryptic acronyms kthxbai.