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. 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) What do you have to do?! Very easy just open ~/.zshrc and edit the plugins line and add kubectl. 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"ģ. Installing Git on your Windows machine will also install Git Bash, if it wasnt deselected during the installation steps. Git clone $/plugins/zsh-autosuggestionsĢ. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins).Zsh and Powerlevel10k have an enormous amount of plugins and extensions that you can add to your shell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |