Skip to content

Commit

Permalink
Merge pull request #110 from Freso/fish-completion
Browse files Browse the repository at this point in the history
Add command completion file for the fish shell
  • Loading branch information
Lurk authored Apr 11, 2024
2 parents f4b452a + c304f5a commit 1ed3eb3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contrib/clink.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Disable file completions for clink;
# other than for --config, clink doesn’t take file/path inputs
complete -c clink -f

# Options
complete -c clink -s c -l config --force-files --require-parameter -a '(__fish_complete_suffix .toml)' -d 'Specify configuration file'
complete -c clink -s v -l verbose -d 'Be verbose'
complete -c clink -s h -l help -d 'Show help message and exit'

0 comments on commit 1ed3eb3

Please sign in to comment.