mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:41:42 +08:00
Completion for comp command
This commit is contained in:
parent
1a005a76ef
commit
3c943d2836
13
share/completions/comp.fish
Normal file
13
share/completions/comp.fish
Normal file
|
@ -0,0 +1,13 @@
|
|||
function __comp_generate_args --description 'Function to generate args'
|
||||
echo -e '/d\tShow differences in decimal format
|
||||
/a\tShow differences as characters
|
||||
/l\tShow the numbe
|
||||
r of the line where a difference occurs, instead of displaying the byte offset
|
||||
/n=\tCompare only the number of lines that are specified for each file, even if the files are different sizes
|
||||
/c\tPerform a comparison that is not case-sensitive
|
||||
/off\tProcess files with the offline attribute set
|
||||
/offline\tProcess files with the offline attribute set
|
||||
/?\tShow help'
|
||||
end
|
||||
|
||||
complete --command comp --no-files --arguments '(__comp_generate_args)'
|
Loading…
Reference in New Issue
Block a user