taylorla.blogg.se

Zshell windows
Zshell windows






zshell windows

Install Zsh (and curl and git) sudo apt-get install zsh curl gitģ. Start Ubuntu and in the settings in Windows of the window, change the font to: MesloLGS NFĢ. Download the following 4 fonts for powerlevel10k and install them on Windowsĭ. Steps to get the cool prompt PrerequisiteĬ. This blogpost shows my personal configuration. Using Oh-My-Zsh also works in Windows Terminal of course and also if you just open WSL itself. But having a file ready to be filled with commands or executing commands which are already in a file, I really like to use Visual Studio Code. I could use Windows Terminal or Cmder if I would only use the command prompt.

zshell windows

So I have only 1 window open to have both the file and the terminal.

zshell windows

Therefore I like to use Visual Studio Code together with the terminal within VS Code. Very often I need to execute a command in a script file. I’m using the prompt a lot, to type and execute commands. Why I’m using VS Code together with the terminal in VS Code In short: Using Oh-My-Zsh makes your prompt highly customizable using community-created plugins and themes so it makes your life easier. There are so many possibilities, too many to sum them up here. With the needed knowledge a couple of them should be possible in the bash prompt as well, but Oh-My-Zsh makes it very easy. There are much more plugins which can be found here: or here Let’s configure the zsh-syntax-highlighting and zsh-autosuggestions. By default the Git plugin is already configured. Here is a cheatsheet to make you type less. Ls mydir/**/*.json to have all json files in any directory within mydir. Is a short expression that lets you filter files. Type – after a command and tab through the command options. Type case insensitive and Zsh finds out what you mean. Very powerful is searching in history using a partly typed command: for example type az and when you hit your arrow up, it only shows the commands in history which start with az. Works over shells and even works after reboots. When prompted in a git repo, Zsh shows information about the Git status for example. By default, the robbyrussell theme is configured. Using Oh-My-Zsh instead of the default bash prompt has several advantages: Oh-My-Zsh is a plugin that runs on top of ZSH.

zshell windows

It’s how I have configured the WSL and VS Code. Actually, this blog post is a reminder for me. This blogpost tells you the steps to take to get a prompt on Windows with WSL using Visual Studio Code. Update on 30-01-2022: Update theme to powerlevel10k and the necessary steps This works nice but with Oh-My-Zsh you can make the command-prompt look- and behave better so you can do your work more efficient. When using Windows, the usage of WSL (2) is a must-have when it comes to having a Linux shell to execute bash scripts. Now Git, the Azure CLI, and Kubernetes Kubectl are used more and more, the bash prompt is one of the most productive ways to do your daily work.








Zshell windows