Files
linux-toolkit/sh/.zshrc
2022-10-20 14:23:45 -05:00

24 lines
566 B
Bash

TOOLKIT=/etc/toolkit
ZSH=$TOOLKIT/sh/ohmyzsh
ZSH_THEME="bira"
ZSH_CUSTOM=$TOOLKIT/sh/ohmyzsh-custom
ZSH_CUSTOM_USER_SCRIPTS=$HOME/.zsh-scripts
ZSH_CACHE_DIR=$HOME/.zsh-cache
source $ZSH/oh-my-zsh.sh
source $TOOLKIT/sh/load.sh
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
plugins=(git zsh-autosuggestions)
zstyle ':omz:update' mode auto # update automatically without asking
zstyle ':omz:update' frequency 14
create_dir_if_not_exists $ZSH_CUSTOM_USER_SCRIPTS
create_dir_if_not_exists $ZSH_CACHE_DIR
load_scripts_in_dir $ZSH_CUSTOM_USER_SCRIPTS