Split zsh config into separate files

This commit is contained in:
ItsDrike 2024-06-10 16:23:40 +02:00
parent aa8cc54140
commit 7e265f51b1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
2 changed files with 39 additions and 23 deletions

View file

@ -198,8 +198,8 @@ anonymize() {
# Reset the prompt on initial run to allow this script
# to be ran multiple times without user having to reload
# PS1 manually
# shellcheck source=/home/itsdrike/.config/shell/prompt
. "${XDG_CONFIG_DIR:-$HOME/.config}/shell/prompt"
# shellcheck source=/home/itsdrike/.config/zsh/rc/prompt
. "${XDG_CONFIG_DIR:-$HOME/.config}/zsh/rc/prompt.zsh"
# Regular expression to match 0-255 numbers (color)
color_int_re='^(0+)?([0-9]{1,2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'