magnus

joined 11 months ago
[–] [email protected] 3 points 10 months ago (1 children)

My collegues wouldn't appreciate my shell config in the root account, especially the vi bindings ;)

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

As long as /bin/sh isn't pointing to zsh, you haven't messed anything up. A lot of public scripts wouldn't expect to be run under zsh.

If you write your own scripts, I'd say to use zsh, but start it with #/bin/zsh (or whatever resolves to zsh) to be explicit about the fact that it is designed for zsh and nothing else. Most scripts written aren't going to be distributed to hundred of thousands of systems, but at most used in a handful of systems. No point in not enjoying some things zsh does better in scripts.

A lot of systems have other dependencies as well, and as long as a system which has scripts in it is specifing zsh along with other dependencies, I wouldn't see the problem. zsh doesn't take up much space or introduce other problems just by being installed.

As for the root shell, you can put Defaults env_keep += HOME in your sudo configuration. That will have sudo -s run your usual zsh with its usual configuration for interactive, daily use. Be aware of any config that shouldn't be run as root.

sudo -i will still run the shell root is assigned in /etc/passwd, and everything run as root would function ar expected.

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

st from suckless all the way. Used it a couple of years now in conjunction with i3. I'm spawning a lot of terminals, doing a few commands and closing them often, so starting quick is a must.

Wrote a small patch that allows me to copy current directory from a terminal instance to primary selection with a keybinding. That allows me to quickly navigate to whatever directory that would be in another terminal or application.

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

I guess that means able to access services on the Internet over IPv6, not me being able to get a /64 and providing services myself to others.

Sort of ok for phones I guess, although not as great if someone doesn't have access to fiber and have to use a mobile link in a residential environment.

Bahnhof actually just provides NAT:ed fiber connections as well as default, but will issue a public, unique IP if asked (at no additional cost).

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (3 children)

In Sweden we have just one ISP for non-commercial customers providing native IPv6 adresses (Bahnhof) on fiber connections, and even then we can't get a static prefix from them.

Not quite sure on the mobile ISPs though.