gamma

joined 1 year ago
[–] [email protected] 0 points 1 week ago

Love the Towerfall OST myself, it was such a shock to hear about him.

[–] [email protected] 0 points 2 weeks ago* (last edited 2 weeks ago)

Rivals of Aether 2, its so good to have an indie platfighter that has Smas'hs level of polish.

The first one is still a better casual experience because of workshop and single player modes, but I'm here to shmoove in ranked.

[–] [email protected] 3 points 1 month ago

Basically the Matrix Spec Change Proposal system, I like it. Opens the floor to more players, gives tool authors a list of protocols they could choose to build on, and hopefully compositors will choose to adopt or adapt one of these protocols before writing their own.

[–] [email protected] 8 points 1 month ago (1 children)

I know that "Vanity Addresses" are a common thing for onion sites, and there are tools which generate tons of keys looking for prefixes. I haven't seen such a tool for ssh host keys though.

[–] [email protected] 7 points 2 months ago

I put newlines in my filenames to break both CLI tools and Windows filesystems

[–] [email protected] 7 points 2 months ago* (last edited 2 months 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.

[–] [email protected] 9 points 3 months ago

zsh-syntax-highlighting

There's also a fork called fast-syntax-highlighting, I use it.

[–] [email protected] 4 points 4 months ago

manually call the others

Yeah, most distros will set up source chains to make things nicer for users.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Yeah, I'd write this as a single update script with options to update vimplugins or update pkg or update all.

I see that you want it to be a function so you can get the chdir as a side effect, but mixing that with updating doesn't make sense to me.

[–] [email protected] 13 points 4 months ago

When in doubt, ~/.zshrc. It's the right choice 99% of the time. Otherwise, there's a chance you fuck up scripts you've installed which assume no shell options have been changed in non-interactive contexts.

[–] [email protected] 2 points 4 months ago (4 children)

What kind of functions do you write which you share between your scripts? Generally if I'm wanting to reuse a non-trivial function, I extend the functionality of the first script instead.

[–] [email protected] 11 points 4 months ago* (last edited 4 months ago) (2 children)

Select the color which matches the steps before filenames ((non-)login and (non-)interactive), then follow that arrow the rest of the way. There's more colors in Bash because Bash makes a distinction between remote and local shells.

Another way to look at the same data for Zsh (note: $ZDOTDIR will be used instead of $HOME if it's defined at any step along the way):

File neither interactive login both
/etc/zshenv x x x x
${ZDOTDIR:-$HOME}/.zshenv x x x x
${ZDOTDIR:-$HOME}/.zprofile x x
${ZDOTDIR:-$HOME}/.zshrc x x
${ZDOTDIR:-$HOME}/.zlogin x x
${ZDOTDIR:-$HOME}/.zlogout x x

One confusion on the Bash side of the diagram is that you see branching paths into ~/.profile, ~/.bash_profile and ~/.bash_login. Bash will use for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and execute only the first one that exists and is readable.

view more: next ›