Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flux2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
fluxcd
flux2
Commits
e7ba9b56
Unverified
Commit
e7ba9b56
authored
4 years ago
by
Hidde Beydals
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1018 from tvories/docs/fish_completions
parents
bb356242
81f6fa59
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/flux/completion_fish.go
+2
-6
2 additions, 6 deletions
cmd/flux/completion_fish.go
docs/cmd/flux_completion_fish.md
+1
-5
1 addition, 5 deletions
docs/cmd/flux_completion_fish.md
with
3 additions
and
11 deletions
cmd/flux/completion_fish.go
+
2
−
6
View file @
e7ba9b56
...
...
@@ -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
`
,
...
...
This diff is collapsed.
Click to expand it.
docs/cmd/flux_completion_fish.md
+
1
−
5
View file @
e7ba9b56
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment