address review comments

This commit is contained in:
Matthew Adams
2020-04-13 07:50:12 -05:00
parent de307f43cc
commit c6e76fe4ee
2 changed files with 9 additions and 9 deletions

View File

@@ -1,10 +1,10 @@
# cite 'uuid-alias'
# about-alias 'uuidgen aliases'
cite 'uuid-alias'
about-alias 'uuidgen aliases'
if [ "$(uuid 2>/dev/null)" != "" ]; then # Linux
if _command_exists uuid; then # Linux
alias uuidu="uuid | tr '[:lower:]' '[:upper:]'"
alias uuidl=uuid
elif [ "$(uuidgen 2>/dev/null)" != "" ]; then # macOS/BSD
elif _command_exists uuidgen; then # macOS/BSD
alias uuidu="uuidgen"
alias uuid="uuidgen | tr '[:upper:]' '[:lower:]'" # because upper case is like YELLING
alias uuidl=uuid