From 71e835feecb35dea5c6d33706136481bc204691a Mon Sep 17 00:00:00 2001 From: Fabian Weisshaar Date: Sat, 5 Nov 2016 19:24:19 +0100 Subject: [PATCH] add mdls completion --- share/completions/mdls.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 share/completions/mdls.fish diff --git a/share/completions/mdls.fish b/share/completions/mdls.fish new file mode 100644 index 000000000..4aaf59c7e --- /dev/null +++ b/share/completions/mdls.fish @@ -0,0 +1,6 @@ +# completion for mdls (macOS) + +complete -c mdls -s n -o name -x -d 'Print only the matching metadata attribute value' +complete -c mdls -s r -o raw -f -d 'Print raw attribute data' +complete -c mdls -n '__fish_seen_subcommand_from -raw -r' -o nullMarker -x -d 'Sets a marker string to be used when a requested attribute is null' +complete -c mdls -s p -o plist -r -d 'Output attributes in XML format to file'