blackjacx
blackjacx

Reputation: 10490

Swift ZSH auto completions

How can I load Swift auto completions for my ZSH shell, i.e. when I type swift [TAB] it should show possible sub-commands.

Upvotes: 2

Views: 309

Answers (1)

gcharita
gcharita

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:

plugins=(
  swiftpm
)

and restart terminal.

Upvotes: 3

Related Questions