From 698946d4077b17178b8d8fb8fb9298f2b2a35229 Mon Sep 17 00:00:00 2001 From: Matheus Peviani Vellone Date: Mon, 12 Apr 2021 14:11:35 -0300 Subject: [PATCH] zsh: remove git plugin and add auto-expand fn --- zsh/.zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 4f9c233..ac44fa8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -86,7 +86,6 @@ zplug load # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=( - git docker terraform docker-compose @@ -140,3 +139,10 @@ alias ll='ls -lh' # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +function expand-alias() { + zle _expand_alias + zle self-insert +} +zle -N expand-alias +bindkey -M main ' ' expand-alias \ No newline at end of file