mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
change theme to p10k
This commit is contained in:
parent
557cfe4dfd
commit
a98ce33497
3 changed files with 4 additions and 4 deletions
2
.zshrc
2
.zshrc
|
@ -1,7 +1,7 @@
|
||||||
export TERM="xterm-256color"
|
export TERM="xterm-256color"
|
||||||
export OTHER=$HOME/.zsh
|
export OTHER=$HOME/.zsh
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
export ZSH_THEME="powerlevel9k/powerlevel9k"
|
export ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
source $OTHER/powerlevel_settings.sh
|
source $OTHER/powerlevel_settings.sh
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ function doIt() {
|
||||||
if [ ! -d "${HOME}/.oh-my-zsh" ]; then
|
if [ ! -d "${HOME}/.oh-my-zsh" ]; then
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
fi
|
fi
|
||||||
if [ ! -d "${HOME}/.oh-my-zsh/custom/themes/powerlevel9k" ]; then
|
if [ ! -d "${HOME}/.oh-my-zsh/custom/themes/powerlevel10k" ]; then
|
||||||
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
|
||||||
fi
|
fi
|
||||||
if [ -d "${HOME}/.zsh" ]; then
|
if [ -d "${HOME}/.zsh" ]; then
|
||||||
rm -rf $HOME/.zsh
|
rm -rf $HOME/.zsh
|
||||||
|
|
|
@ -5,7 +5,7 @@ if [ ! -d "${HOME}/.oh-my-zsh" ]; then
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
fi
|
fi
|
||||||
if [ ! -d "${HOME}/.oh-my-zsh/custom/themes/powerlevel9k" ]; then
|
if [ ! -d "${HOME}/.oh-my-zsh/custom/themes/powerlevel9k" ]; then
|
||||||
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
|
||||||
fi
|
fi
|
||||||
if [ -d "${HOME}/.zsh" ]; then
|
if [ -d "${HOME}/.zsh" ]; then
|
||||||
rm -rf $HOME/.zsh
|
rm -rf $HOME/.zsh
|
||||||
|
|
Loading…
Add table
Reference in a new issue