dotfiles/desktop/.zshrc

22 lines
759 B
Bash
Raw Normal View History

2024-06-27 09:55:15 +02:00
# 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
2024-10-07 12:32:17 +02:00
export PATH=$HOME/bin:$HOME/.local/bin:$HOME/go/bin:$PATH
export ZSH="$HOME/.config/zsh/ohmyzsh"
2024-06-27 09:55:15 +02:00
2024-10-07 12:32:17 +02:00
ZSH_THEME="powerlevel10k/powerlevel10k" # set by `omz`
2024-06-27 09:55:15 +02:00
plugins=(git)
source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
eval "$(fzf --zsh)"
eval "$(zoxide init zsh)"