Instance: programming.dev
Joined: 2 years ago
Posts: 1
Comments: 8
Posts and Comments by Gamma, gamma@programming.dev
Comments by Gamma, gamma@programming.dev
keyboard first but mouse available
Sway works really well with mod+drag, but the configuration is nearly the same as i3. Plasma’s new tiling features are really good, but unfortunately mousse driven.
I’d check out the COSMIC beta, might be a good middle ground.
Single quotes don't allow any escaping in shell, you need
'I don'\''t know what you mean, I'\''ve never encountered any annoyances'
Or, in Zsh with setopt rcquotes:
'I don''t know what you mean, I''ve never encountered any annoyances'
Nothings bad about it. I don't think it's strictly better or worse. Just
- I'm used to it
- The comparison in the video was just disingenuous.
I get annoyed by differences with (Ba|Z)sh when I try Fish, but nushell is so much its own thing that it's fun.
Scrubbing through the video, this hurts my soul
bash
echo $(echo $STRING | sed 's/World/Bash/')
For variables bash has PE forms:
bash
echo ${STRING/World/Bash}
I miss these too much when I try Fish.
string split/collect and similar can't work unless its a builtin. The set foo ( ...... | string ... ) pattern couldn't work if string was an external binary.
Zsh is still king in my book. Fish and Bash don't have the language features, and Zsh completion with menu groups is a premier experience. Fish's completion from manpages is very good, but there's also a standard zsh function to complete from --help output.
If I were to switch shells, it would have to be to nushell.
I've always considered it to be such that the whole thing is simultaneously a joke and true (haha jk, unless?), or maybe just hyperbole. But I've avoided using it myself because clearly it gets misinterpreted way too frequently
PieFed.ca
Sway works really well with mod+drag, but the configuration is nearly the same as i3. Plasma’s new tiling features are really good, but unfortunately mousse driven.
I’d check out the COSMIC beta, might be a good middle ground.
Single quotes don't allow any escaping in shell, you need
Or, in Zsh with
setopt rcquotes:Nothings bad about it. I don't think it's strictly better or worse. Just
I get annoyed by differences with (Ba|Z)sh when I try Fish, but nushell is so much its own thing that it's fun.
Scrubbing through the video, this hurts my soul
bash echo $(echo $STRING | sed 's/World/Bash/')For variables bash has PE forms:
bash echo ${STRING/World/Bash}I miss these too much when I try Fish.
string split/collectand similar can't work unless its a builtin. Theset foo ( ...... | string ... )pattern couldn't work ifstringwas an external binary.Zsh is still king in my book. Fish and Bash don't have the language features, and Zsh completion with menu groups is a premier experience. Fish's completion from manpages is very good, but there's also a standard zsh function to complete from
--helpoutput.If I were to switch shells, it would have to be to nushell.
I've always considered it to be such that the whole thing is simultaneously a joke and true (haha jk, unless?), or maybe just hyperbole. But I've avoided using it myself because clearly it gets misinterpreted way too frequently
Tracing is your friend!
A huge part of programming in general is learning how to troubleshoot something, not just having someone else fix it for you. One of the basic ways to do that is by tracing. Not only can this help you figure out what your script is doing and how it's doing it, but in the event that you need help from another person, posting the output can be beneficial to the person attempting to help.