X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/682cd624f468fc52fc8be639c69cca2f19b2b38e..1824e0507f2f636d27e03865fff96820c1b93192:/.zsh/zshrc/30_aliases diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index bbb4dbe..b77954d 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -137,16 +137,16 @@ _LANGUAGES[de]=deu _LANGUAGES[es]=spa _LANGUAGES[fr]=fra _LANGUAGES[it]=ita -_LANGUAGES[lt]=lat +_LANGUAGES[tn]=lat for l0 in ${(k)_LANGUAGES}; do for l1 in ${(k)_LANGUAGES}; do - eval "_${l0}-${l1}() { _d -d fd-${_LANGUAGES[$l0]}-${_LANGUAGES[$l1]} \$* }" - eval "${l0}-${l1}() { d -d fd-${_LANGUAGES[$l0]}-${_LANGUAGES[$l1]} \$* }" + eval "function _${l0}-${l1}() { _d -d fd-${_LANGUAGES[$l0]}-${_LANGUAGES[$l1]} \$* }" + eval "function ${l0}-${l1}() { d -d fd-${_LANGUAGES[$l0]}-${_LANGUAGES[$l1]} \$* }" done done unset '_LANGUAGES[en]' for l in ${(k)_LANGUAGES}; do - eval "${l}() { (_${l}-en \$*; _en-${l} \$*) | more }" + eval "function ${l}() { (_${l}-en \$*; _en-${l} \$*) | more }" done unset _LANGUAGES