X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/33230b65afa1076218abff057d0bbcc7486af0a8..0610542002bc5d0740ec24a042db5b40a487e777:/.zsh/zshrc/40-baseconv?ds=sidebyside diff --git a/.zsh/zshrc/40-baseconv b/.zsh/zshrc/40-baseconv index b180e22..a64d423 100644 --- a/.zsh/zshrc/40-baseconv +++ b/.zsh/zshrc/40-baseconv @@ -18,7 +18,8 @@ function baseconv() { echo ${var#*\#} } -typeset -lA bases=(b 2 o 8 d 10 h 16) +typeset -lA bases +bases=(b 2 o 8 d 10 h 16) typeset -l {k,v}{1,2} for k1 v1 in ${(kv)bases}; do for k2 v2 in ${(kv)bases}; do