Reputation: 852
If I type rpm --root=/
in ZSH and then press TAB nothing happens. This works for a lot of other commands. How can I make ZSH always expand the path like in BASH?
Upvotes: 6
Views: 779
Reputation: 7040
It looks like you're still using Zsh's legacy completion system. To upgrade to the "new" completion system (released in 🛸the year 2000🛸), add this to your .zshrc
file:
autoload -Uz compinit
compinit
Then you'll see that pressing Tab after rpm --root=/
will give you file completions just fine.
Upvotes: 0