![]() z plugin in action: I inside the folder ~/ohmyzsh/plugins I want to go back to the home directory instead of doing cd.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 the file 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.zshrc file and append the code below: export ZSH=$HOME/ohmyzsh Oh My Zsh is installed, now let's update our. Let's clone the Github repository and browse the plugins list: git clone 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. Now the configuration is completed so, let's go to the next step. zshrc created and add the content below: # 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 shell: 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 provides the location of the target shell. The chsh allow switching from one shell to another. Zsh 5.4.2 (x86_64-ubuntu-linux-gnu) Set ZSH as the default shell Make sure the installation succeeded by checking the version installed: zsh -version The installation is pretty simple with the APT package manager: sudo apt update 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, which is a shell program for Unix-like operating systems. An SSH client to connect to the server.Check out my post on our to perform minimal configuration on a new VPS. A VPS running on a Linux distribution in my case, I'm on Ubuntu 18.04.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 on the server. You type slowly ?! Yes, like me, I wish I could type fast like guys in hacker movies. ![]() Because of the terminal UI, sometimes, I don't even remember in which folder I'm inside, and I have to type pwd and say Ahh! I'm here ?.You don't have an autosuggestion that can improve your speed.Since you don't have a GUI, navigating a folder is hard since even when you know you will be a comeback in a folder because you need to perform some task in another folder, you will retype the command later. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |