fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerReformat share/{completions,functions}c12f853db

master
1.1 KiB20 linesraw
1complete -c lazygit -xa "status branch log stash"
2complete -c lazygit -s h -l help -d 'Display help'
3complete -c lazygit -s v -l version -d 'Print version'
4complete -c lazygit -s p -l path -d 'Path of git repo' -xa "(__fish_complete_directories)"
5
6# Config
7complete -c lazygit -s c -l config -d 'Print the default config'
8complete -c lazygit -o cd -l print-config-dir -d 'Print the config directory'
9complete -c lazygit -o ucd -l use-config-dir -d 'Override default config directory with provided directory' -r
10complete -c lazygit -o ucf -l use-config-file -d 'Comma separated list to custom config file(s)' -r
11
12# Git
13complete -c lazygit -s f -l filter -d 'Path to filter on in `git log -- <path>`' -r
14complete -c lazygit -s g -l git-dir -d 'Equivalent of the --git-dir git argument' -r
15complete -c lazygit -s w -l work-tree -d 'Equivalent of the --work-tree git argument' -xa "(__fish_complete_directories)"
16
17# Debug
18complete -c lazygit -s d -l debug -d 'Run in debug mode with logging'
19complete -c lazygit -s l -l logs -d 'Tail lazygit logs; used with --debug'
20complete -c lazygit -l profile -d 'Start the profiler and serve it on http port 6060'