Skip to content

Commit df3ec7f

Browse files
exploidedandavison
authored andcommitted
added auto completions for fish shell
1 parent b99e6c5 commit df3ec7f

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

etc/completion/completion.fish

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
complete -c delta -l blame-code-style -x -d "Style string for the code section of a git blame line"
2+
complete -c delta -l blame-format -x -d "Format string for git blame commit metadata"
3+
complete -c delta -l blame-palette -x -d "Background colors used for git blame lines"
4+
complete -c delta -l blame-separator-format -x -d "Separator between the blame format and the code section of a git blame line"
5+
complete -c delta -l blame-separator-style -x -d "Style string for the blame-separator-format"
6+
complete -c delta -l blame-timestamp-format -x -d "Format of git blame timestamp in raw git output received by delta"
7+
complete -c delta -l color-only -d "Do not alter the input structurally in any way"
8+
complete -c delta -l commit-decoration-style -x -d "Style string for the commit hash decoration"
9+
complete -c delta -l commit-regex -x -d "Regular expression used to identify the commit line when parsing git output"
10+
complete -c delta -l commit-style -x -d "Style string for the commit hash line"
11+
complete -c delta -l dark -d "Use default colors appropriate for a dark terminal background"
12+
complete -c delta -l default-language -x -d "Default language used for syntax highlighting"
13+
complete -c delta -l diff-highlight -d "Emulate diff-highlight"
14+
complete -c delta -l diff-so-fancy -d "Emulate diff-so-fancy"
15+
complete -c delta -l diff-stat-align-width -x -d "Width allocated for file paths in a diff stat section"
16+
complete -c delta -l features -x -d "Names of delta features to activate"
17+
complete -c delta -l file-added-label -x -d "Text to display before an added file path"
18+
complete -c delta -l file-copied-label -x -d "Text to display before a copied file path"
19+
complete -c delta -l file-decoration-style -x -d "Style string for the file decoration"
20+
complete -c delta -l file-modified-label -x -d "Text to display before a modified file path"
21+
complete -c delta -l file-removed-label -x -d "Text to display before a removed file path"
22+
complete -c delta -l file-renamed-label -x -d "Text to display before a renamed file path"
23+
complete -c delta -l file-style -x -d "Style string for the file section"
24+
complete -c delta -l file-transformation -x -d "Sed-style command transforming file paths for display"
25+
complete -c delta -l grep-context-line-style -x -d "Style string for non-matching lines of grep output"
26+
complete -c delta -l grep-file-style -x -d "Style string for file paths in grep output"
27+
complete -c delta -l grep-line-number-style -x -d "Style string for line numbers in grep output"
28+
complete -c delta -l grep-match-line-style -x -d "Style string for matching lines of grep output"
29+
complete -c delta -l grep-match-word-style -x -d "Style string for the matching substrings within a matching line of grep output"
30+
complete -c delta -l grep-separator-symbol -x -d "Separator symbol printed after the file path and line number in grep output"
31+
complete -c delta -l hunk-header-decoration-style -x -d "Style string for the hunk-header decoration"
32+
complete -c delta -l hunk-header-file-style -x -d "Style string for the file path part of the hunk-header"
33+
complete -c delta -l hunk-header-line-number-style -x -d "Style string for the line number part of the hunk-header"
34+
complete -c delta -l hunk-header-style -x -d "Style string for the hunk-header"
35+
complete -c delta -l hunk-label -x -d "Text to display before a hunk header"
36+
complete -c delta -l hyperlinks -d "Render commit hashes, file names, and line numbers as hyperlinks"
37+
complete -c delta -l hyperlinks-commit-link-format -x -d "Format string for commit hyperlinks"
38+
complete -c delta -l hyperlinks-file-link-format -x -d "Format string for file hyperlinks"
39+
complete -c delta -l inline-hint-style -x -d "Style string for short inline hint text"
40+
complete -c delta -l inspect-raw-lines -xa "true false" -d "Kill-switch for --color-moved support"
41+
complete -c delta -l keep-plus-minus-markers -d "Prefix added/removed lines with a +/- character"
42+
complete -c delta -l light -d "Use default colors appropriate for a light terminal background"
43+
complete -c delta -l line-buffer-size -x -d "Size of internal line buffer"
44+
complete -c delta -l line-fill-method -xa "ansi spaces" -d "Line-fill method in side-by-side mode"
45+
complete -c delta -l line-numbers -s n -d "Display line numbers next to the diff"
46+
complete -c delta -l line-numbers-left-format -x -d "Format string for the left column of line numbers"
47+
complete -c delta -l line-numbers-left-style -x -d "Style string for the left column of line numbers"
48+
complete -c delta -l line-numbers-minus-style -x -d "Style string for line numbers in the old (minus) version of the file"
49+
complete -c delta -l line-numbers-plus-style -x -d "Style string for line numbers in the new (plus) version of the file"
50+
complete -c delta -l line-numbers-right-format -x -d "Format string for the right column of line numbers"
51+
complete -c delta -l line-numbers-right-style -x -d "Style string for the right column of line numbers"
52+
complete -c delta -l line-numbers-zero-style -x -d "Style string for line numbers in unchanged (zero) lines"
53+
complete -c delta -l list-languages -d "List supported languages and associated file extensions"
54+
complete -c delta -l list-syntax-themes -d "List available syntax-highlighting color themes"
55+
complete -c delta -l map-styles -x -d "Map styles encountered in raw input to desired output styles"
56+
complete -c delta -l max-line-distance -x -d "Maximum line pair distance parameter in within-line diff algorithm"
57+
complete -c delta -l max-line-length -x -d "Truncate lines longer than this"
58+
complete -c delta -l merge-conflict-begin-symbol -x -d "String marking the beginning of a merge conflict region"
59+
complete -c delta -l merge-conflict-end-symbol -x -d "String marking the end of a merge conflict region"
60+
complete -c delta -l merge-conflict-ours-diff-header-decoration-style -x -d "Style string for the decoration of the header above the 'ours' merge conflict diff"
61+
complete -c delta -l merge-conflict-ours-diff-header-style -x -d "Style string for the header above the 'ours' branch merge conflict diff"
62+
complete -c delta -l merge-conflict-theirs-diff-header-decoration-style -x -d "Style string for the decoration of the header above the 'theirs' merge conflict diff"
63+
complete -c delta -l merge-conflict-theirs-diff-header-style -x -d "Style string for the header above the 'theirs' branch merge conflict diff"
64+
complete -c delta -l minus-empty-line-marker-style -x -d "Style string for removed empty line marker"
65+
complete -c delta -l minus-emph-style -x -d "Style string for emphasized sections of removed lines"
66+
complete -c delta -l minus-non-emph-style -x -d "Style string for non-emphasized sections of removed lines that have an emphasized section"
67+
complete -c delta -l minus-style -x -d "Style string for removed lines"
68+
complete -c delta -l navigate -d "Activate diff navigation"
69+
complete -c delta -l navigate-regex -x -d "Regular expression defining navigation stop points"
70+
complete -c delta -l no-gitconfig -d "Do not read any settings from git config"
71+
complete -c delta -l pager -x -d "Which pager to use"
72+
complete -c delta -l paging -xa "auto always never" -d "Whether to use a pager when displaying output"
73+
complete -c delta -l parse-ansi -d "Display ANSI color escape sequences in human-readable form"
74+
complete -c delta -l plus-emph-style -x -d "Style string for emphasized sections of added lines"
75+
complete -c delta -l plus-empty-line-marker-style -x -d "Style string for added empty line marker"
76+
complete -c delta -l plus-non-emph-style -x -d "Style string for non-emphasized sections of added lines that have an emphasized section"
77+
complete -c delta -l plus-style -x -d "Style string for added lines"
78+
complete -c delta -l raw -d "Do not alter the input in any way"
79+
complete -c delta -l relative-paths -d "Output all file paths relative to the current directory"
80+
complete -c delta -l right-arrow -x -d "Text to display with a changed file path"
81+
complete -c delta -l show-colors -d "Show available named colors"
82+
complete -c delta -l show-config -d "Display the active values for all Delta options"
83+
complete -c delta -l show-syntax-themes -d "Show example diff for available syntax-highlighting themes"
84+
complete -c delta -l show-themes -d "Show example diff for available delta themes"
85+
complete -c delta -l side-by-side -s s -d "Display diffs in side-by-side layout"
86+
complete -c delta -l syntax-theme -xa "(delta --list-syntax-themes | cut -f 2)" -d "The syntax-highlighting theme to use"
87+
complete -c delta -l tabs -x -d "The number of spaces to replace tab characters with"
88+
complete -c delta -l true-color -xa "auto always never" -d "Whether to emit 24-bit RGB color codes"
89+
complete -c delta -l whitespace-error-style -x -d "Style string for whitespace errors"
90+
complete -c delta -l width -s w -x -d "The width of underline/overline decorations"
91+
complete -c delta -l word-diff-regex -x -d "Regular expression defining a 'word' in within-line diff algorithm"
92+
complete -c delta -l wrap-left-symbol -x -d "End-of-line wrapped content symbol"
93+
complete -c delta -l wrap-max-lines -x -d "How often a line should be wrapped if it does not fit"
94+
complete -c delta -l wrap-right-percent -x -d "Threshold for right-aligning wrapped content"
95+
complete -c delta -l wrap-right-prefix-symbol -x -d "Pre-wrapped content symbol"
96+
complete -c delta -l wrap-right-symbol -x -d "End-of-line wrapped content symbol"
97+
complete -c delta -l zero-style -x -d "Style string for unchanged lines"
98+
complete -c delta -l help -s h -d "Print help information"
99+
complete -c delta -l version -s V -d "Print version information"

0 commit comments

Comments
 (0)