Hot answers tagged


Copied from my answer here. You need to have gmktemp (GNU mktemp) installed. (Using, e.g., brew install coreutils.) The following is zsh code; It might or might not work with bash. pngpaste () { local name="${1}" extension="${2:-png}" class="${3}" test -z "$class" && class='«class PNGf»' local ...

Only top voted, non community-wiki answers of a minimum length are eligible