Add per-user aliases alongside global aliases for fine-grained aliases per user which do not apply to other system user accounts.

This commit is contained in:
inference 2022-12-10 13:24:59 +00:00
parent 728d3b5dfe
commit 4289594e03

View File

@ -3,7 +3,7 @@
# Copyright 2022 Inference # Copyright 2022 Inference
# License: BSD 3-Clause Clear # License: BSD 3-Clause Clear
# 1.0.0.4 # 1.1.0.5
# Prompt. # Prompt.
@ -38,6 +38,11 @@ if test -z "${XDG_RUNTIME_DIR}"; then
fi fi
# Aliases. # Aliases.
## Global.
if [[ -f ~/.zsh-alias-global ]]; then if [[ -f ~/.zsh-alias-global ]]; then
. ~/.zsh-alias-global . ~/.zsh-alias-global
fi fi
## User.
if [[ -f ~/.zsh-alias-user ]]; then
. ~/.zsh-alias-user
fi