[-] gamma@programming.dev 7 points 8 months ago

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'
[-] gamma@programming.dev 6 points 9 months ago

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.

[-] gamma@programming.dev 6 points 9 months ago* (last edited 9 months ago)

Scrubbing through the video, this hurts my soul

echo $(echo $STRING | sed 's/World/Bash/')

For variables bash has PE forms:

echo ${STRING/World/Bash}

I miss these too much when I try Fish.

[-] gamma@programming.dev 6 points 1 year ago

The "$@" doesn't do that you think it does in an alias. It gets expanded on alias creation.

[-] gamma@programming.dev 7 points 2 years ago* (last edited 2 years ago)

Taking courses which involve subjects that you will likely never encounter in the workforce is a thing in every discipline. Most engineers don't need to manually solve differential equations in their day jobs, they just need to know that they exist and will often require numerical solutions.

Getting your hands dirty with the content provides a better understanding when dealing with higher level concepts.

[-] gamma@programming.dev 7 points 2 years ago

If you say "a 10d10", I know what you mean, but "10d10" is definitely the sum of 10 10-sided dice.

[-] gamma@programming.dev 6 points 2 years ago

8GB memory + two Firefox profiles makes things difficult on my laptop.

[-] gamma@programming.dev 6 points 2 years ago

I get your point. Since a .tar.zst file can be handled natively by tar, using .tzst instead does make sense.

[-] gamma@programming.dev 7 points 2 years ago

I did about once a year until 2018 when I settled on Arch.

But now I've got a server on NixOS and loving it, so I might be switching my laptop soon.

[-] gamma@programming.dev 6 points 2 years ago* (last edited 2 years ago)
[-] gamma@programming.dev 6 points 2 years ago* (last edited 2 years ago)

Typically find "$HOME/docs", but with a few caveats:

  • In Zsh or Fish, the quotes are unnecessary: find $HOME/docs

  • If I'm using anything potentially destructive: mv "${HOME:?}/bin" ...

  • Of course, if it's followed by a valid identifier character, I'll add braces: "${basename}_$num.txt"

[-] gamma@programming.dev 6 points 2 years ago

My Linux review: 10/10, would recommend, but would not install for someone and let them use it for the next 5 years.

view more: ‹ prev next ›

gamma

joined 2 years ago
MODERATOR OF