I'm not a fan of the smart completion system and I just want it to work as in the old days. How do I get zsh to autocomplete in the old way? E.g. autocompleting all commands in my PATH and all files (and directories) in my current dir. I don't want any kind of smart intelligence.
What I have tried:
No zle or zstyle configuration commands in my ~/.zshrc file. This results in smart completion, e.g. typing 'cd ' will complete only directories (yes, I want it to be dumb and complete everything, including files)
This configuration in .zshrc:
zle -C complete-file complete-word _generic zstyle ':completion:complete-file::::' completer _files
This completes files but command completion is lost.
The documentation is just overwhelming and I can't seem to find any quick hack to just disable the smart completion system alltogether.
Running zmodload -L gives me the following result:
$ zmodload -L zmodload zsh/complete zmodload zsh/computil zmodload zsh/main zmodload zsh/parameter zmodload zsh/stat zmodload zsh/terminfo zmodload zsh/zle zmodload zsh/zutil
Do I need zsh/complete and zsh/computil for normal completion to work? I'm not running any zmodload commands from my ~/.zshrcf-file and grep -r zmodload /etc/zsh* returns nothing.
I'm running Ubuntu 18.04.2 LTS.