Built an arcade machine running MAME. We have been playing a lot of Boogie Wings and Windjammers.
System/web/Linux developer
Built an arcade machine running MAME. We have been playing a lot of Boogie Wings and Windjammers.
I’m using ed for small edits when I know exactly that only a certain line needs to be deleted, or a word changed.
My collegues wouldn’t appreciate my shell config in the root account, especially the vi bindings ;)
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.
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.
We also had fun playing through Leisure Suit Larry 1 a couple of weeks ago :)