1. Activate Plugins Using the Zsh Configuration File. To see which plugins are available, open the Oh My Zsh Plugins page on GitHub. Here you will find a list of all the plugins that you can use in Oh My Zsh. After you have decided which plugin you want to use, open the Zsh configuration file using nano: nano ~/.zshrc
Zsh has a built-in feature allowing it to find a file in the current or any other subdirectory. For instance, assume you have two files called foo.txt. One is located in your current directory, and the other is in a subdirectory called foo. In a Bash shell, you can list the file in the current directory with: $ ls foo.txt Add this entry to the bottom of the zshrc file and you will be able to use in the next login. 5. Using Z shell features. Now that we’ve played around and setup the themes and plugins to adjust the look-and-feel of our Z shell, let’s move on to exploring some of the features of z shell on Ubuntu. Auto-completionbash file & location: .zshrc, ~/.zshrc.zshrc existance: ls -la > and look for .zshrc file. if no .zshrc file: touch .zshrc; open & write –– alias code="open -a 'Visual Studio Code'". Which will behave like what Monomeeth mentioned above: opens your VSCode from your folder Applications.
if you happen to need to share your .zshrc across different OS, you can do some OS check in your zshrc file to see if it is macOS or linux/wsl: code ~/.zshrc; zsh: command not found: code; For open vscode: code; The terminal process failed to launch: Path to shell executable "zsh" is not a file or aInstalling oh-my-zsh will create/update your ~/.zshrc file – located in your home directory – which defines your zsh configuration. We will edit the ~/.zshrc file throughout this tutorial to customise our terminal. 2. Download a Nerd-Font# Next, download a Nerd-font of your choice.
Actually, there is no default .zshrc file, but if you need to edit is as a simple notepad, do these: Goto /Users/ Folder via Finder App. Click Shift + Command + .Mov4oC.