Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add completions for swift command (the programming language CLI) #3289

Closed
2 tasks done
rymcol opened this issue Aug 4, 2016 · 5 comments
Closed
2 tasks done

add completions for swift command (the programming language CLI) #3289

rymcol opened this issue Aug 4, 2016 · 5 comments

Comments

@rymcol
Copy link

rymcol commented Aug 4, 2016

  • Have you checked if problem occurs with fish 2.3.1?
  • Tried fish without third-party customizations (check sh -c 'env HOME=$(mktemp -d) fish')?

fish version installed (fish --version):

fish, version 2.3.1

OS/terminal used:

macOS Sierra 10.12 beta 4 / Terminal Version 2.7 (376)

When attempting to tab autocomplete on swift, such as swift build, the auto-complete suggests directories instead of swift commands.

Reproduction steps

Hard to explain? Link to a screen recording

  1. Launch fish
  2. Type "swift b"
  3. Press tab

Expected results

Fish should suggest build as the autocompletion.

Actual results

~ $ swift b
Dropbox/  Library/  Public/  webroot/
@faho
Copy link
Member

faho commented Aug 4, 2016

The swift completions just haven't been written yet. Patches welcome!

@rymcol
Copy link
Author

rymcol commented Aug 4, 2016

@faho where are the completions stored?

@faho
Copy link
Member

faho commented Aug 4, 2016

share/completions/$command.fish in this repo.

@faho
Copy link
Member

faho commented Aug 4, 2016

Though if you'd like to write one, put it in ~/.config/fish/completions/swift.fish.

@krader1961 krader1961 changed the title Autocompletion Fails for swift commands add completions for swift command (the programming language CLI) Aug 11, 2016
@krader1961 krader1961 added this to the fish-future milestone Oct 2, 2016
@krader1961
Copy link
Contributor

Custom completions need to be written and submitted by someone motivated to do so. Like yourself, @rymcol. We're happy to provide advice on how to do so. But without such a submission this issue will simply bit rot.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants