From 22c20f36cb75855b0a19752992b8eef6d093da42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Martinez?= Date: Wed, 14 Sep 2016 08:39:30 +0200 Subject: [PATCH] Add ranger completions --- share/completions/ranger.fish | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/completions/ranger.fish diff --git a/share/completions/ranger.fish b/share/completions/ranger.fish new file mode 100644 index 000000000..3f5a9e45e --- /dev/null +++ b/share/completions/ranger.fish @@ -0,0 +1,14 @@ +complete -c ranger -s d -l debug -d "Activate debug mode" +complete -c ranger -s c -l clean -d "Activate clean mode" +complete -c ranger -s r -l confdir -d "Change configuration directory" +complete -c ranger -l copy-config -x -d "Create copies of the default configuration" -a "all commands commands_full rc rifle scope" +complete -c ranger -l chosefile -r -d "Pick file with ranger" +complete -c ranger -l chosefiles -r -d "Pick multiple files with ranger" +complete -c ranger -l chosedir -r -d "Pick directory" +complete -c ranger -l selectfile -r -d "Open ranger with given file selected" +complete -c ranger -l list-unused-keys -d "List common keys which are not bound" +complete -c ranger -l list-tagged-files -f -d "List all tagged files with given tag (default *)" +complete -c ranger -l profile -d "Print statistics of CPU usage on exit" +complete -c ranger -l cmd -r -d "Execute command after configuration file read" +complete -c ranger -l version -d "Print version" +complete -c ranger -l help -s h -d "Print help"