fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
acd3c45a4
master
1# localization: skip(private) 2function __fish_complete_magick_options --description'Complete Magick options' --argument-names what 3switch $what 4case format Format 5magick -list Format| string replace -rf'^\s*([\w-]+)\*?\s+\S+\s+([rw+-]{3})\s+(.+)$' '\1\t\2 \3' 6case color Color 7magick -list color| string replace -rf'^(\w+)\s+(\w+\(.+\))\s+(.+)$' '\1\t\2 \3' 8case family 9magick -list Font| string replace -rf'^\s*family: ' '' | sort -u 10case font Font 11magick -list Font| string replace -rf'^\s*Font: ' '' | sort -u 12case '*' 13magick -list$what 14end 15end