Commit 37593a8e authored by Frank Terbeck's avatar Frank Terbeck

Add qr-decode wrapper function

parent f04e144a
# -*- shell-script -*-
emulate -L zsh
if (( ${+commands[zbarimg]} == 0)); then
cat << EOF
qr-decode uses zbarimg to do the heavy lifting. The program does
not seem to be installed. On Debian, install: zbar-tools
EOF
return 1
fi
zbarimg --quiet --raw "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment