X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7b57bc5c5383a6eac9b7d8d0af4f1c63723b948..57d22c7977ad80556aca28496d0192d4a72ef73a:/.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