zshrc: check_com() fixed and zshified
authorThilo Six <tech@xk2c.de>
Sat, 30 Apr 2016 11:39:05 +0000 (13:39 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 30 Apr 2016 21:30:55 +0000 (23:30 +0200)
commitebd9d165348f511fa1082f9a4c0ce341e277f131
treeac071f7eb727021403e9defff87bbfc12a32c241
parent95d0e2fdb605d14b4974a877406c990bd3a89426
zshrc: check_com() fixed and zshified

* FIX: in the elif a shift was missing
* MOD: use '(( ${+' instead of '[[ -n ${'
  One thing though: I tried to verify since when Zsh supports that.
  Currently i do not know where to get that from.
* FIX: add -g to help message
etc/zsh/zshrc