aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
Diffstat (limited to 'completions')
-rw-r--r--completions/mark.fish9
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"