Change to powerlevel10k
This commit is contained in:
1634
zsh/.p10k.zsh
Normal file
1634
zsh/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
14
zsh/.zshrc
14
zsh/.zshrc
@@ -1,3 +1,10 @@
|
|||||||
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
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
|
||||||
|
|
||||||
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
||||||
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
||||||
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
||||||
@@ -5,7 +12,6 @@
|
|||||||
[[ -f ~/.zsh/.mac_config ]] && source ~/.zsh/.mac_config
|
[[ -f ~/.zsh/.mac_config ]] && source ~/.zsh/.mac_config
|
||||||
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
|
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
|
||||||
|
|
||||||
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
|
|
||||||
# Load Antigen
|
# Load Antigen
|
||||||
setopt interactivecomments
|
setopt interactivecomments
|
||||||
source ~/.zsh/antigen/antigen.zsh
|
source ~/.zsh/antigen/antigen.zsh
|
||||||
@@ -17,7 +23,7 @@ bindkey '^q' clear-screen
|
|||||||
antigen use oh-my-zsh
|
antigen use oh-my-zsh
|
||||||
|
|
||||||
# Antigen Theme
|
# Antigen Theme
|
||||||
antigen theme bhilburn/powerlevel9k powerlevel9k
|
antigen theme romkatv/powerlevel10k powerlevel10k
|
||||||
|
|
||||||
# Antigen Bundles
|
# Antigen Bundles
|
||||||
|
|
||||||
@@ -48,6 +54,7 @@ alias vim=nvim
|
|||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
export EDITOR='nvim'
|
export EDITOR='nvim'
|
||||||
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
|
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
|
||||||
|
export PATH="~/.local/bin:$PATH"
|
||||||
|
|
||||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||||
|
|
||||||
@@ -67,3 +74,6 @@ delzip() {
|
|||||||
}
|
}
|
||||||
# mitmproxy
|
# mitmproxy
|
||||||
export MITMPROXY_SSLKEYLOGFILE="~/.mitmproxy/sslkeylogfile.txt"
|
export MITMPROXY_SSLKEYLOGFILE="~/.mitmproxy/sslkeylogfile.txt"
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
[[ ! -f ~/.zsh/.p10k.zsh ]] || source ~/.zsh/.p10k.zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user