@@ -1,15 +1,11 @@
|
|||||||
# Install git prompt-lines
|
# Install powerlevel10k (.zsh prompt)
|
||||||
|
|
||||||
#howto #git
|
## First run
|
||||||
|
|
||||||
## Install powerlevel10k (.zsh prompt)
|
|
||||||
|
|
||||||
### First run
|
|
||||||
|
|
||||||
On the first run, Powerlevel10k configuration wizard will ask you a few questions and configure your prompt. If it doesn't trigger automatically, type `p10k configure`.
|
On the first run, Powerlevel10k configuration wizard will ask you a few questions and configure your prompt. If it doesn't trigger automatically, type `p10k configure`.
|
||||||
You can further customize your prompt by editing ~/.p10k.zsh.
|
You can further customize your prompt by editing ~/.p10k.zsh.
|
||||||
|
|
||||||
### Oh My Zsh
|
## Oh My Zsh
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
||||||
@@ -17,18 +13,13 @@ git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerl
|
|||||||
|
|
||||||
Set `ZSH_THEME=powerlevel10k/powerlevel10k` in your ~/.zshrc.
|
Set `ZSH_THEME=powerlevel10k/powerlevel10k` in your ~/.zshrc.
|
||||||
|
|
||||||
### Update p10k
|
## Update p10k
|
||||||
|
|
||||||
| Installation | Update command |
|
| Installation | Update command |
|
||||||
|--------------|----------------------------------------------|
|
|--------------|----------------------------------------------|
|
||||||
| Manual | git -C ~/powerlevel10k pull |
|
| Manual | git -C ~/powerlevel10k pull |
|
||||||
| Oh My Zsh | git -C $ZSH_CUSTOM/themes/powerlevel10k pull |
|
| Oh My Zsh | git -C $ZSH_CUSTOM/themes/powerlevel10k pull |
|
||||||
|
|
||||||
## bash-git-prompt (bash prompt)
|
|
||||||
|
|
||||||
```shell
|
|
||||||
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -36,4 +27,3 @@ git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt -
|
|||||||
|
|
||||||
* [Github - A fast reimplementation of Powerlevel9k ZSH theme](https://github.com/romkatv/powerlevel10k#oh-my-zsh)
|
* [Github - A fast reimplementation of Powerlevel9k ZSH theme](https://github.com/romkatv/powerlevel10k#oh-my-zsh)
|
||||||
* [My beautiful Linux development environment](https://dev.to/deepu105/my-beautiful-linux-development-environment-2afc)
|
* [My beautiful Linux development environment](https://dev.to/deepu105/my-beautiful-linux-development-environment-2afc)
|
||||||
* [bash-git-prompt](https://github.com/magicmonty/bash-git-prompt)
|
|
||||||
Reference in New Issue
Block a user