Expand aliases by pressing TAB

This commit is contained in:
2025-07-08 12:50:55 +02:00
parent 6dbe8fa7c7
commit f52759e9b5

3
.zshrc
View File

@@ -122,6 +122,9 @@ zstyle ':vcs_info:git:*' formats ' (%F{cyan}%b%f%c%u)'
setopt prompt_subst
PROMPT='%(?..%F{red}%?%f )[%n@%m] %3~${vcs_info_msg_0_} %# '
# Expand aliases by the press of TAB.
zstyle ':completion:*' completer _expand_alias _complete _ignored
# At least have the following in .zshrc_local:
# export GIT_AUTHOR_NAME='Alfred Muster'
# export GIT_AUTHOR_EMAIL='test@example.com'