Skip to content
Snippets Groups Projects
Unverified Commit e7ba9b56 authored by Hidde Beydals's avatar Hidde Beydals Committed by GitHub
Browse files

Merge pull request #1018 from tvories/docs/fish_completions

parents bb356242 81f6fa59
Branches
Tags
No related merge requests found
......@@ -25,13 +25,9 @@ import (
var completionFishCmd = &cobra.Command{
Use: "fish",
Short: "Generates fish completion scripts",
Example: `To load completion run
Example: `To configure your fish shell to load completions for each session write this script to your completions dir:
. <(flux completion fish)
To configure your fish shell to load completions for each session write this script to your completions dir:
flux completion fish > ~/.config/fish/completions/flux
flux completion fish > ~/.config/fish/completions/flux.fish
See http://fishshell.com/docs/current/index.html#completion-own for more details
`,
......
......@@ -9,13 +9,9 @@ flux completion fish [flags]
### Examples
```
To load completion run
. <(flux completion fish)
To configure your fish shell to load completions for each session write this script to your completions dir:
flux completion fish > ~/.config/fish/completions/flux
flux completion fish > ~/.config/fish/completions/flux.fish
See http://fishshell.com/docs/current/index.html#completion-own for more details
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment