Commit 1bcee920 by chenrui Committed by GitHub

Add fish shell tab completion for mac (#1830)

* Add fish shell tab completion for mac

* Remove macOS ref as brew should work linux as well
parent 7555d6dc
......@@ -79,16 +79,19 @@ See `poetry help completions` for full details, but the gist is as simple as usi
# Bash
poetry completions bash > /etc/bash_completion.d/poetry.bash-completion
# Bash (macOS/Homebrew)
# Bash (Homebrew)
poetry completions bash > $(brew --prefix)/etc/bash_completion.d/poetry.bash-completion
# Fish
poetry completions fish > ~/.config/fish/completions/poetry.fish
# Fish (Homebrew)
poetry completions fish > $(brew --prefix)/share/fish/vendor_completions.d/poetry.fish
# Zsh
poetry completions zsh > ~/.zfunc/_poetry
# Zsh (macOS/Homebrew)
# Zsh (Homebrew)
poetry completions zsh > $(brew --prefix)/share/zsh/site-functions/_poetry
```
......
......@@ -161,12 +161,15 @@ See `poetry help completions` for full details, but the gist is as simple as usi
# Bash
poetry completions bash > /etc/bash_completion.d/poetry.bash-completion
# Bash (macOS/Homebrew)
# Bash (Homebrew)
poetry completions bash > $(brew --prefix)/etc/bash_completion.d/poetry.bash-completion
# Fish
poetry completions fish > ~/.config/fish/completions/poetry.fish
# Fish (Homebrew)
poetry completions fish > $(brew --prefix)/share/fish/vendor_completions.d/poetry.fish
# Zsh
poetry completions zsh > ~/.zfunc/_poetry
......
......@@ -521,3 +521,5 @@ replacing ``[program]`` with the command you use to run your application:
# FISH
[program] completions fish > ~/.config/fish/completions/[program].fish
# FISH - Mac OSX (with Homebrew "fish")
[program] completions fish > $(brew --prefix)/share/fish/vendor_completions.d/[program].fish
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment