dotfiles/general/.zshrc

38 lines
691 B
Bash
Raw Normal View History

2021-02-06 23:41:32 +01:00
# Initialize p10k if present
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
2021-05-22 17:34:22 +02:00
ZSH_THEME="powerlevel10k/powerlevel10k"
else
ZSH_THEME="robbyrussell"
2021-02-06 23:41:32 +01:00
fi
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
source ~/.aliases
plugins=(
git
vscode
vi-mode
systemd
npm
npx
node
flutter
archlinux
colorize
docker
docker-compose
pip
python
)
source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
2021-05-22 17:34:22 +02:00
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
2021-05-29 16:11:13 +02:00
[[ ! -f !/.zshrc.local ]] || source ~/.zshrc.local