feat: zsh config

This commit is contained in:
2024-03-07 01:42:48 +00:00
parent 25cd4dba5e
commit d8c4d07a8e
3 changed files with 1778 additions and 6 deletions

1738
home/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,27 @@
# https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#how-do-i-configure-instant-prompt
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
source $HOME/.profile
export POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
ZSH_THEME="powerlevel10k/powerlevel10k"
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
zstyle ':omz:update' frequency 13
plugins=(git)
# https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
plugins=(
aliases
emoji
git
history
zsh-autosuggestions
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh