You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
584 B
24 lines
584 B
CONFIG_ROOT="${XDG_CONFIG_ROOT:-$HOME/.config}/zsh"
|
|
#timeout 1 shell-greeting
|
|
|
|
# p10k/ohmyzsh
|
|
P10K_PROMPT="${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
[[ -r "$P10K_PROMPT" ]] && source "$P10K_PROMPT"
|
|
|
|
export ZSH="$CONFIG_ROOT/ohmyzsh"
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
|
zstyle ':omz:update' mode reminder
|
|
zstyle ':omz:update' frequency 15
|
|
|
|
plugins=(git sudo web-search zsh-autosuggestions zsh-syntax-highlighting)
|
|
|
|
# zoxide
|
|
eval "$(zoxide init zsh)"
|
|
|
|
# zsh
|
|
|
|
source "$ZSH/oh-my-zsh.sh"
|
|
for SH_FILE in $CONFIG_ROOT/zshrc.d/*; do
|
|
source "$SH_FILE"
|
|
done
|
|
|