git plugin in action: I type gst to say git status.Here is what it will look like: git and z plugins in action. Save and exit the file log out from the server and log in again. Every time we open a terminal, this configuration will be applied. Finally, we will reload the oh-my-zsh.sh file to update the config.git will improve the experience when working with version control, and z make it easy to navigate between folders. You can give the name you want just keep it in mind when you need that. We set a variable ZSH with a value equal to the path of the Oh My Zsh folder.Oh My Zsh is installed now let's update our. Let's clone the GitHub repository and browse the plugins list: As we can read on the website: Oh My Zsh will not make you a 10x developer.but you may feel like one! It provides more than 275 plugins and 150 themes to give a good look to your terminal. Oh My Zsh is an open-source, community-driven framework for managing your Zsh configuration. The ZSh first-time configuration is completed. # Keep 1000 lines of history within the shell and save it to ~/.zsh_history: Since it is the first time we start a session with ZSH, some configurations are needed. Now log out from the server and log in again. Here is the final command to change the chsh -s /usr/bin/zsh To get the location of ZSH, do which zsh and you will get the output /usr/bin/zsh. You need to provide the location of the target shell. The chsh allows switching from one shell to another. The default shell is Bash we can check by running the command echo $SHELL Make sure the installation succeeded by checking the version zsh -version The installation is pretty simple with the APT package manager: To see all to features provided by ZSH, check out this link. ZSH is an extended version of Bourne Shell, which incorporates some features of BASH, KSH, TSH. ZSH stands for Z Shell, a shell program for Unix-like operating systems. Use my referral link to get €20 after you sign up.Īfter buying the server, you must do some basic configuration I wrote the blog post below to help you with that. The server running this blog and all my side projects are hosted here. You can buy a VPS on Hetzner, which provides affordable servers with good performance. An SSH client to connect to the server.A VPS running on a Linux distribution in my case, you can use Ubuntu 20.04 or higher.Prerequisitesīefore we start, here are the requirements to follow this tutorial: In this post, We will see how to improve the user experience when working in the terminal. Do you type slowly? Yes, like me, I wish I could type fast like guys in hacker movies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |