From cb3ef18218e33cddcc649945630accbe72e9dc13 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Thu, 8 Mar 2012 20:52:36 -0500 Subject: [PATCH] adding macgen alias --- .zsh/aliases.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/.zsh/aliases.zsh b/.zsh/aliases.zsh index 9242468..eed71be 100644 --- a/.zsh/aliases.zsh +++ b/.zsh/aliases.zsh @@ -3,3 +3,4 @@ alias sl='ls' alias myip="wget -qO- ifconfig.me/ip" alias memoryhog="ps aux | sort -nk +4 | tail" alias stripext="ls -1 | sed 's/\(.*\)\..*/\1/'" +alias macgen="openssl rand -hex 6 | sed 's/\(..\)/\1:/g;s/../00/;s/.$//' | tr "[a-z]" "[A-Z]""