File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,23 @@ cat <<- EOF > ~/.zshrc
14
14
15
15
PROMPT='%F{040}%n%f @ %F{156}%~%f -> '
16
16
RPROMPT='%*'
17
-
18
- ZSH_THEME=
19
17
EOF
20
18
21
19
# ZSH custom folder
22
20
mkdir -p $HOME /.zsh/custom
23
21
ZSH_CUSTOM=$HOME /.zsh/custom
24
22
25
23
# Install powerlevel10k
26
- THEME_REPO=' ~ /.zsh/custom/themes/powerlevel10k'
24
+ THEME_REPO=' $HOME /.zsh/custom/themes/powerlevel10k'
27
25
if [[ -d $THEME_REPO ]]; then
28
26
echo " Theme already installed."
29
27
else
30
28
echo " Installing theme..."
31
29
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $THEME_REPO
32
30
fi
33
31
34
- # sed delimeter "|" used for clarity
35
- sed -ie ' s|^ZSH_THEME=.*|ZSH_THEME=" powerlevel10k\ /powerlevel10k"| ' ~ /.zshrc
32
+ # Add Powerline10k theme
33
+ echo ' source $HOME/.zsh/custom/themes/ powerlevel10k/powerlevel10k.zsh-theme ' >> ~/.zshrc
36
34
exec zsh # Powerline10k wizard should start automatically - uncomment next line if otherwise
37
35
# p10k configure
38
36
You can’t perform that action at this time.
0 commit comments