Skip to content

Instantly share code, notes, and snippets.

@codehearts
Created April 5, 2019 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codehearts/8b06999f2ddeeaa7bf597aa55be5c588 to your computer and use it in GitHub Desktop.
Save codehearts/8b06999f2ddeeaa7bf597aa55be5c588 to your computer and use it in GitHub Desktop.
cmd2svg() {
name="$1"
shift
dest="$2"
shift
termtosvg -s "$dest" -g 80x20 -t gjm8 -c "$*"
mv "$dest"/termtosvg_00000.svg /mnt/"$name"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment