aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/unrar.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-11-03 09:57:27 +1000
committerGravatar axel <axel@liljencrantz.se>2006-11-03 09:57:27 +1000
commitc41986a63f3f28cd13be211eca8f87df4e0e0528 (patch)
tree19275620f51261303b5ba06a8f825db4e9d3f8a9 /share/completions/unrar.fish
parentbedf8ea55ee2ea522cca82b1529968ebabf8743e (diff)
Add command specific completions for unrar command (No switches yet, only commands and files in archive)
darcs-hash:20061102235727-ac50b-7b7638289be4de52b4e3e3d109ad3167b7285023.gz
Diffstat (limited to 'share/completions/unrar.fish')
-rw-r--r--share/completions/unrar.fish15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/completions/unrar.fish b/share/completions/unrar.fish
new file mode 100644
index 00000000..8bf24190
--- /dev/null
+++ b/share/completions/unrar.fish
@@ -0,0 +1,15 @@
+
+# Peek inside of archives and list all files
+complete -c unrar -a "(__fish_complete_unrar)"
+
+complete -x -c unrar -n '__fish_use_subcommand' -a e -d (N_ "Extract files to current directory")
+complete -x -c unrar -n '__fish_use_subcommand' -a l -d (N_ "List archive" )
+complete -x -c unrar -n '__fish_use_subcommand' -a lt -d (N_ "List archive (technical)" )
+complete -x -c unrar -n '__fish_use_subcommand' -a lb -d (N_ "List archive (bare)" )
+complete -x -c unrar -n '__fish_use_subcommand' -a p -d (N_ "Print file to stdout")
+complete -x -c unrar -n '__fish_use_subcommand' -a t -d (N_ "Test archive files")
+complete -x -c unrar -n '__fish_use_subcommand' -a v -d (N_ "Verbosely list archive")
+complete -x -c unrar -n '__fish_use_subcommand' -a vt -d (N_ "Verbosely list archive (technical)")
+complete -x -c unrar -n '__fish_use_subcommand' -a vb -d (N_ "Verbosely list archive (bare)")
+complete -x -c unrar -n '__fish_use_subcommand' -a x -d (N_ "Extract files with full path")
+