From 3836bfe5a109ef87cc36fc42747b0cab43fc861d Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 5 Jun 2012 00:40:42 -0700 Subject: Added history completion file Updated history function to assume --search as the default behavior --- share/completions/history.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 share/completions/history.fish (limited to 'share/completions/history.fish') diff --git a/share/completions/history.fish b/share/completions/history.fish new file mode 100644 index 00000000..e2e5c11a --- /dev/null +++ b/share/completions/history.fish @@ -0,0 +1,5 @@ +complete -c history -r -l prefix --description "Match history items that start with the given prefix" +complete -c history -r -l contains --description "Match history items that contain the given string" +complete -c history -l search --description "Print matching history items, which is the default behavior" +complete -c history -l delete --description "Interactively delete matching history items" +complete -c history -l clear --description "Clear your entire history" -- cgit v1.2.3