Zsh (Z Shell). It's more than just a command-line shell; it's your ultimate partner for an exceptional Git workflow. Personally, I rely on Zsh every day as I work with Infrastructure-as-Code (IAC) for AWS and OCI using Terraform. When dealing with critical production environments, knowing the branch you're on is crucial. That's where Zsh comes in, offering incredible customization to display Git status information right in your command prompt.
In this article, we'll delve into the installation process of Zsh on different operating systems.
Installation steps:
Install package manager :snapd
sudo apt install snapd
Install Curl
sudo snap install curl
install oh my zsh via curl or wget
via curl
sh -c "$(curl -fsSL
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
)
via wget :
sh -c "$(wget
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
-O -)"
Change theme (optional)
nano ~/ .zhrc
go to ZSH_THEME
change that to the theme of your choice
for example: My preferred theme isaf-magic
Embark on a journey of exploration and customization with a plethora of exciting themes available at this link