diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-20 01:14:36 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-20 01:14:36 +0200 |
| commit | a8d64c2c2f66da299b127230a0df7bb219ac4a44 (patch) | |
| tree | 010d2100c1011864b2416d256ccf894e290cbea7 /completions | |
| parent | ab1233ade4867ea0c02caaf4bf57a101211ca85c (diff) | |
| download | mark-a8d64c2c2f66da299b127230a0df7bb219ac4a44.tar.gz mark-a8d64c2c2f66da299b127230a0df7bb219ac4a44.zip | |
add completions for edit and print commands
Diffstat (limited to 'completions')
| -rw-r--r-- | completions/mark.fish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/completions/mark.fish b/completions/mark.fish new file mode 100644 index 0000000..be1bf5d --- /dev/null +++ b/completions/mark.fish @@ -0,0 +1,9 @@ +function __mark_no_command + set cmd (commandline -opc) + test (count $cmd) -eq 1 + return +end + +#Commands +complete -c mark -n '__mark_no_command' -x -d "open the mark store file" -a "edit" +complete -c mark -n '__mark_no_command' -x -d "print marks" -a "print" |
