[Fix] avoid parse error with common omz global aliases, in `nvm_print_color_code`

Merge pull request #2365 from hosamaly/patch-1