From a8d64c2c2f66da299b127230a0df7bb219ac4a44 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 20 Aug 2019 01:14:36 +0200 Subject: add completions for edit and print commands --- completions/mark.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 completions/mark.fish (limited to 'completions/mark.fish') 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" -- cgit v1.2.3