Skip to content

Instantly share code, notes, and snippets.

@2bard
Last active April 21, 2016 23:42
Show Gist options
  • Save 2bard/bf169fb0f9d39dd3c843bf26b3e710c1 to your computer and use it in GitHub Desktop.
Save 2bard/bf169fb0f9d39dd3c843bf26b3e710c1 to your computer and use it in GitHub Desktop.
OSX: Bash profile alias to generate a UUID and add to clipboard
To generate a v4 UUID then paste this to your bash/zsh profile:
alias givemeuuid="uuid -v4 | pbcopy && echo 'Copied a UUID to the clipboard.'"
Not tested on any OS other than OSX 10.9.5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment