Skip to content

Commit

Permalink
fish: remove no-files instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Feb 15, 2025
1 parent 6fba736 commit c99f2c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion example/cmd/_test/fish.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ function _example_callback
end

complete -e 'example'
complete -c 'example' -f
complete -c 'example' -f -a '(_example_callback)' -r

3 changes: 1 addition & 2 deletions internal/shell/fish/snippet.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ function _%v_callback
end
complete -e '%v'
complete -c '%v' -f
complete -c '%v' -f -a '(_%v_callback)' -r
`, cmd.Name(), cmd.Name(), cmd.Name(), uid.Executable(), cmd.Name(), cmd.Name(), cmd.Name(), cmd.Name())
`, cmd.Name(), cmd.Name(), cmd.Name(), uid.Executable(), cmd.Name(), cmd.Name(), cmd.Name())
}

0 comments on commit c99f2c1

Please sign in to comment.