I have the following command (using cfg-update here) aliased to
emerge in my ~/.zshrc
Code: Select all
alias emerge='emerge_with_indexing_for_cfg-update'
However, whenever I try to autocomplete the options of emerge or package names (as usual, by typing <tab> after a half-complete name/option), the autocomplete does not work. I think zsh internally expands the emerge command to its actual command and so does not find any autocompletions for that actual command.
Is there a way of disabling this "internally_replace_the_alias_by_its_command" only for the 'emerge' alias? FYI, the autocomplete works fine in bash (so bash obviously does not internally replace the alias name by the actual command).
TIA.