Skip to content

Commit 92ee440

Browse files
committed
Switch to powerlevel10k
1 parent e217f03 commit 92ee440

8 files changed

Lines changed: 1756 additions & 11 deletions

File tree

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
[submodule "oh-my-zsh-custom/plugins/zsh-autosuggestions"]
55
path = oh-my-zsh-custom/plugins/zsh-autosuggestions
66
url = https://github.com/zsh-users/zsh-autosuggestions
7-
[submodule "oh-my-zsh-custom/themes/powerlevel9k"]
8-
path = oh-my-zsh-custom/themes/powerlevel9k
9-
url = https://github.com/bhilburn/powerlevel9k.git
7+
[submodule "oh-my-zsh-custom/themes/powerlevel10k"]
8+
path = oh-my-zsh-custom/themes/powerlevel10k
9+
url = https://github.com/romkatv/powerlevel10k.git

_p10k.zsh

Lines changed: 1738 additions & 0 deletions
Large diffs are not rendered by default.

_vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Plug 'morhetz/gruvbox'
1212
Plug 'neoclide/coc.nvim', {'branch': 'release'}
1313
Plug 'preservim/nerdtree'
1414
Plug 'godlygeek/tabular'
15-
" Plug 'tpope/vim-fugitive'
15+
Plug 'tpope/vim-fugitive'
1616
Plug 'tpope/vim-commentary'
1717
Plug 'tpope/vim-repeat'
1818
Plug 'tpope/vim-surround'

_zshrc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
2+
# Initialization code that may require console input (password prompts, [y/n]
3+
# confirmations, etc.) must go above this block; everything else may go below.
4+
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
5+
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
6+
fi
7+
18
export ZSH="${HOME}/.oh-my-zsh"
29
export ZSH_CUSTOM="${HOME}/.oh-my-zsh-custom"
310

4-
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(status context dir virtualenv vcs)
5-
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(root_indicator background_jobs)
6-
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right"
7-
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
8-
ZSH_THEME="powerlevel9k/powerlevel9k"
11+
ZSH_THEME="powerlevel10k/powerlevel10k"
912

1013
# Show dots when loading completition takes long time.
1114
COMPLETION_WAITING_DOTS="true"
@@ -120,3 +123,5 @@ if [ -f "${HOME}/.zshrc-local" ]; then
120123
source "${HOME}/.zshrc-local"
121124
fi
122125

126+
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
127+
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ ln -srfv _terminator_config ~/.config/terminator/config
7070
ln -srfTv oh-my-zsh ~/.oh-my-zsh
7171
# install oh-my-zsh custom folder
7272
ln -srfTv oh-my-zsh-custom ~/.oh-my-zsh-custom
73+
# install powerlevel10k for zsh
74+
ln -srfv _p10k.zsh ~/.p10k.zsh
7375

7476
# set zsh as the default shell
7577
current_shell=$(expr "${SHELL:=/bin/false}" : '.*/\(.*\)')

oh-my-zsh

Submodule powerlevel10k added at da9b037
Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)