add if to zsh powerline
This commit is contained in:
parent
255e76a4c1
commit
e5f3d47891
@ -2,6 +2,9 @@
|
|||||||
# Initialize p10k if present
|
# Initialize p10k if present
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
|
else
|
||||||
|
ZSH_THEME="robbyrussell"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
@ -9,8 +12,6 @@ export ZSH="$HOME/.oh-my-zsh"
|
|||||||
|
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
|
||||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
vscode
|
vscode
|
||||||
|
Loading…
Reference in New Issue
Block a user