Move zsh user dir default
This commit is contained in:
parent
ab0ce2f188
commit
259a576d7e
2
init.zsh
2
init.zsh
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user