Move zsh user dir default

This commit is contained in:
Alexander Rosenberg 2023-05-20 00:28:50 -07:00
parent ab0ce2f188
commit 259a576d7e
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -16,7 +16,7 @@ function cmd_exists {
}
# User configuration file
[[ -v ZSH_USER_DIR ]] || ZSH_USER_DIR="${HOME}/.zsh.d"
[[ -v ZSH_USER_DIR ]] || ZSH_USER_DIR="${HOME}/.config/zsh"
# source_user_file <name>
function source_user_file {
[ -e "${ZSH_USER_DIR}/${1}" ] && source "${ZSH_USER_DIR}/${1}"