From 4129899fd5a48a572e15c103f8b70621257af2e7 Mon Sep 17 00:00:00 2001 From: MenkeTechnologies Date: Wed, 21 Dec 2022 11:58:15 -0500 Subject: [PATCH] do not expand alias docker=podman --- zsh-expand.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-expand.plugin.zsh b/zsh-expand.plugin.zsh index b10bcfd..0b195df 100644 --- a/zsh-expand.plugin.zsh +++ b/zsh-expand.plugin.zsh @@ -63,7 +63,7 @@ fi local sq=${ZPWR_VARS[startQuoteRegex]} local eq=${ZPWR_VARS[endQuoteRegex]} - ZPWR_VARS[blacklistFirstPosRegex]='^(omz_history|grc|_z|zshz|cd|hub|_zsh_tmux_|_rails_|_rake_|mvn-or|gradle-or|noglob |rlwrap ).*$' + ZPWR_VARS[blacklistFirstPosRegex]='^(omz_history|podman|grc|_z|zshz|cd|hub|_zsh_tmux_|_rails_|_rake_|mvn-or|gradle-or|noglob |rlwrap ).*$' ZPWR_VARS[blacklistSubcommandPositionRegex]='^(cargo|jenv|svn|git|ng|pod|docker|kubectl|rndc|yarn|npm|pip[0-9\.]*|bundle|rails|gem|nmcli|brew|apt|dnf|yum|zypper|pacman|service|proxychains[0-9\.]*|zpwr|zm|zd|zg|zinit)$' # the main regex to match x=1 \builtin* 'command'* '"sudo"' -* y=2 \env* -* z=3 cmd arg1 arg2 etc