Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 294
blackjacx Avatar asked Nov 24 '25 19:11

blackjacx


1 Answers

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.

like image 160
gcharita Avatar answered Nov 27 '25 08:11

gcharita