Reputation: 10490
How can I load Swift auto completions for my ZSH shell, i.e. when I type swift [TAB] it should show possible sub-commands.
swift [TAB]
Upvotes: 2
Views: 309
Reputation: 8327
You can achieve that by using swiftpm zsh plugin from ohmyzsh repository.
If you are using ohmyzsh, just add swiftpm plugin in your .zshrc file:
swiftpm
.zshrc
plugins=( swiftpm )
and restart terminal.
Upvotes: 3