
Getting Fish-y With My Servers

So, anybody that knows me knows that I'm a huge fan of Oh-My-Zsh with the zsh shell. With the right plugins it makes an awesome terminal experience and I've been a huge fan since a friend introduced it to me a little over a year ago. Now this friend actually sets up Oh-My-Zsh with plugins on his servers, which makes sense as it makes navigating the terminal almost trivial in how easy it is, which has obvious benefits in a headless environment. It sounds great, then you realize that you're going to have to manually set up all these plugins and your .zshrc every single time that you set up a new server. I could write a script, but I would still have to import the script to every new VM and server that I spin up, and lets be honest, thats just a pain. Why don't I just install a shell on my servers that has all of these rad features that I enjoy from Oh-My-Zsh+plugins such as auto-completion and syntax highlighting but has significantly less setup? Enter Fish. If you actually read my articles, you're probably a Linux nerd and are already aware of the Fish shell but for those who may not know, Fish is an alternative Shell to the other available ones, such as Bash, the default on most Linux installs; Zsh, the shell that has become the default shell for MacOS; and other shells such as tcsh. Fish is available in most mainstream repos and I was easily able to do a `sudo apt install fish` on one of my Debian servers (my defacto server choice.) It does exactly what I want, which is allow me to have all of the benefits of my Zsh plugins without all of the setup. I set my Shell, re-log, and I'm good to go. It also recently got re-written in Rust, which is the hip new thing for sure. I feel like this is going to be a trend for me going forward with my servers as an alternative to basic Bash, and I just wanted to share it for anybody that may either be not be 100% content with their terminal experience or looking for new ways to optimize it, for this is a powerful tool to help you do so. Anyways, that's all for this Lazy Sunday. Hope you guys enjoyed the write-up, Peace!