From 3e088817d387db0f723de43f862ab107c8759002 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 25 Sep 2021 04:08:09 -0700 Subject: [PATCH] add "nocorrect" to ignored words in wat --- sh/wat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/wat b/sh/wat index 00f90f5..a30b797 100755 --- a/sh/wat +++ b/sh/wat @@ -14,7 +14,7 @@ wat() { ### @- for cmd; do if (( $+aliases[$cmd] )); then printf '%s: aliased to %s\n' $cmd $aliases[$cmd] - local -a words=(${${(z)aliases[$cmd]}:#(*=*|rlwrap|noglob|command)}) + local -a words=(${${(z)aliases[$cmd]}:#(*=*|rlwrap|nocorrect|noglob|command)}) unalias $cmd if [[ $words[1] == '\'* ]]; then words[1]=${words[1]#'\'}