https://www.bretfisher.com/shell/ Bret Fisher Courses Membership Podcast YouTube SWAG Blog DevOps.fan Chat AMA Docker Resources Newsletter About Updated May, 2022 3 min read Cheat Sheets Sweet Shell: With Oh-My-Zsh, SpaceVim, Starship, True Color, and Demo Mode. For macOS, Linux, and Windows Sweet Shell: With Oh-My-Zsh, SpaceVim, Starship, True Color, and Demo Mode. For macOS, Linux, and Windows My terminal emulator and shell setup for macOS, Linux, and Windows. AKA "Ultimate Terminal Setup" New stuff I'm checking out in 2022 * Eternal Terminal to replace Mosh. I like mosh, but et has scrolling support! * GitHub's VSCode theme, for iTerm. I've settled on GitHub's light/ dark them in VSCode for now, and wanted my iTerm to match. * exa, a modern replacement for ls * Starship is my daily shell theme. I love it! Terminal Emulator The GUI that emulates a text terminal, and runs a shell * macOS: iTerm2 * Linux: Tilix * Windows 10: Windows Terminal * Windows 7/8: cmder Shell and Prompt Z shell (zsh) is my favorite. Here's how to make it awesome * macOS: Now the default in 10.15+ at /bin/zsh or manually install a newer version with brew install zsh to /usr/local/bin/zsh. Default is fine in 99% of cases * Linux: If which zsh shows nothing, then install with apt/yum/apk. Next, change your login shell with chsh -s $(which zsh) * Windows 10: I recommend WSL/WSL2 with Ubuntu and zsh installed there, rather than a zsh.exe alternative * Zsh "Configuration Manager": Oh-My-Zsh adds a bunch of bonus features and plugins to your shell. Check their GitHub wiki for more info and how to customize * Oh-My-Zsh has themes, which mostly affect the prompt features like git branch, current directory, etc. but also has colors you can tweak (see below) * Here's my custom Zsh prompt theme with emoji and a "presentation mode" option. I use this to keep the shell minimal without distractions for presenting. * Daily theme: Starship! Colors I like having matching true-color themes in all my shell apps * GruvBox is my default for everything. I'm now using the community fork which is better maintained. It supports light and dark modes, as well as various contrast options. The contrib repo has the theme for different app formats, including iTerm2, SpaceVim, Tilix, and tmux. * True Color enabled in iTerm2, Zsh, and Vim. Also, check the Gruvbox notes on true color * Assuming you're using Oh-My-Zsh above, you can replace the default theme in .zshrc env ZSH_THEME with this Gruvbox colored one, or just tweak the colors of the full theme list. This really only affects the prompt, not the terminal colors, which are controlled by your terminal emulator * INSANE Wild Cherry theme. I love this, but is it a daily theme? Not sure Shell Editor I prefer neovim (fork of vim), but any vim will do * Neovim (install info), which you run as nvim once installed * Plugin Manager: SpaceVim makes good feature-rich defaults (works with both vim/nvim). I love it and it's the only way I vim Fonts Some fonts are designed for shells and programming. I only use those * Nerd Fonts takes those popular programming fonts and adds extra glyphs and icons for better support in shell tools * I prefer using Homebrew to install those fonts on macOS and Linux. You can always just download one or all of them from Nerd Fonts and usually just dbl-clicking a font file in macOS or Windows will install it * One of my favorite fonts: Sauce Code Pro Font from Nerd Fonts which gives me Vim + Powerline + icons. That's all you need, but if you're curious: It's based off another mod to support this font with Powerline in VIM, which itself is based off the original Adobe Source Code Pro open source font. Whew, what a rabbit hole * Italics enabled in iTerm/Vim. It makes comments easier to visualize I think Other Essentials * Tmux for shell session management (most of this stuff works in Tmux) * Oh-My-Tmux for much better default Tmux setup. It's great out-of-the-box * Mosh for better SSH that auto-reconnects and uses UDP for slow/ laggy/lossy * SilverSearcher (ag from cli) for better shell code search * bat for color cat output of code and markdown (syntax highlighting) Share Tweet You might also like... Sep 2022 The Best Ways to Install Docker for Windows, Mac, and Linux, with Tips 2022 Docker is awesome, yet each OS you run it on has subtle OS-specific differences you need to know about to Updated September, 2022 1 min read Sep 2018 Getting a Shell in the Docker for Windows Moby VM Getting a Shell in the Docker for Windows Moby VM When using Docker for Windows [https://docs.docker.com/ docker-for-windows/], you're actually using a tiny (custom) LinuxKit Linux [https://github. Updated September, 2018 1 min read Mar 2020 The What, Why, and How of the Docker Certified Associate (DCA) Certification The What, Why, and How of the Docker Certified Associate (DCA) Certification Many people have asked me about the DCA (Docker Certified Associate) certification. What it takes to get it, what are Updated March, 2020 4 min read Feb 2022 Docker Desktop for Mac Commands for Getting Into The Local Docker VM Docker Desktop for Mac Commands for Getting Into The Local Docker VM When using Docker Desktop for Mac [https://hub.docker.com/editions/ community/docker-ce-desktop-mac/], you're actually using a tiny (custom) Alpine Updated February, 2022 1 min read May 2017 Install Docker PPA on Ubuntu 16.04 With Good Defaults Sometimes you may not want to install Docker with the wonderfully useful curl -sSL https://get.docker.com/ | sh, so Updated May, 2017 1 min read Learn Container DevOps * Udemy Courses * Podcast * Newsletter * Docker Resources Community * DevOps Discord Server * Patreon Membership * Upcoming YouTube Lives * Ask Me Anything Find Me * GitHub * Twitter * Instagram * Linkedin Bret Fisher (c) 2022