121
[Question] Which shell prompt do you use and why?
(iusearchlinux.fyi)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I use plain old bash with the plain old .bashrc that ships with Debian. I’ll bolt on a git-branch-aware function into the prompt here and there, but that’s about it.
Why? I ssh into a few dozen machines most days and my shitty little lizard brain can’t deal with everything being different on each box. So as much as I appreciate zsh, powerline plug-ins, all that glitzy stuff, I’ll be a late adopter when it comes to plain old Debian stable…
I wrote an Ansible playbook to install my zsh stuffs into a remote machine. I don't run it against every machine though, just the ones where I ssh into particularly often and have the freedom to customize the shell.
This is always the issue for me – I ssh into several machines for various clients every day. All of those clients have one thing in common: equally strict and inconsistent policies about what packages you can use from where and for what reason. “I like this shell better” would never fly, sadly.
The only way i function. Am usualy ssh'd into 3-5 machines at any given time.
This was me until the kubernetes transition occurred. Now I ssh into nothing unless it's a personal box. I've become a zsh convert.
I've been casually transitioning to kubernetes and zsh, but I'm just too comfortable with bash and my os running on bare metal. (He says with more than half his apps switched to containers.) It's simple, effective, and is always available. I should take the plunge, someday.
FWIW, once I got deep enough into it, the thought of going back to the old way seemed like a crazy idea. I don't want to manage servers like that again if it can be avoided. YMMV.