Last active
July 4, 2020 19:38
-
-
Save gjlmotea/dbefffa1e9a01d75439da8e7daa7003e to your computer and use it in GitHub Desktop.
.zshrc with g10k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
ZSH_DISABLE_COMPFIX=true | |
export ZSH="$HOME/.oh-my-zsh" | |
HIST_STAMPS="yyyy-mm-dd" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
source $ZSH_CUSTOM/themes/powerlevel10k/powerlevel10k.zsh-theme | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# 右側 | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs history ram load time) | |
POWERLEVEL9K_MODE='nerdfont-complete' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment