![]() ![]() ![]() ![]() The new Windows Terminal lets you run different shells like Windows PowerShell, PowerShell 7, Command Prompt, WSL, and also WSL 2. To do so we need to edit the Powerlevel10k configuration file ~/.p10k.zsh: vim ~/.p10k.zshĬhange the POWERLEVEL9K_LEFT_PROMPT_ELEMENTS to change the left hand side of the prompt. The new Windows Terminal for Windows 10 which is open-source and you currently can get it from the Windows Store. We can add many things to the prompt, like aws or azure login user information, Kubernetes cluster and namespace information, nodejs version and so on. Save and exit Vim plugins=(git zsh-autosuggestions kubectl) This is an open source project and we welcome community participation. This brings up your settings.json file, and you can quickly make any modifications you need. What do you have to do?! Very easy just open ~/.zshrc and edit the plugins line and add kubectl. Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations. Either click the Settings drop-down in the tab bar, or hit Ctrl+, (on Windows). And now you have auto suggestions.įor those like me that have to deal with Kubernetes this is an amazing plugin, because it gives you autocomplete and many aliases for you to have to type less. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc): (you will probably have git already) plugins=(zsh-autosuggestions) # and bellow add: to fix the suggestion style ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=244"ģ. Git clone $/plugins/zsh-autosuggestionsĢ. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins) In this overview the Microsoft Doc’s site talks you through installing and configuring your Windows Terminal, and also the fantastic Scott Hanselman talks us through setting up a ‘Pretty Prompt’ using oh-my-post and some Powerline fonts: How to make a pretty prompt in Windows Terminal with Powerline, Nerd Fonts, Cascadia Code, WSL, and oh.Add/Modify 'colorScheme': 'Monokai Night' in respective profile to activate. Zsh and Powerlevel10k have an enormous amount of plugins and extensions that you can add to your shell. To install, copy-paste the contents of scheme.json into the schemes section of your Windows Terminal settings, Ctrl +, to open them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |