aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.aliases4
1 files changed, 2 insertions, 2 deletions
diff --git a/.aliases b/.aliases
index 72ed818..af31396 100644
--- a/.aliases
+++ b/.aliases
@@ -63,10 +63,10 @@ alias sniff="sudo ngrep -d 'en1' -t '^(GET|POST) ' 'tcp and port 80'"
alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\""
# Canonical hex dump; some systems have this symlinked
-type -t hd > /dev/null || alias hd="hexdump -C"
+command -v hd > /dev/null || alias hd="hexdump -C"
# OS X has no `md5sum`, so use `md5` as a fallback
-type -t md5sum > /dev/null || alias md5sum="md5"
+command -v md5sum > /dev/null || alias md5sum="md5"
# Trim new lines and copy to clipboard
alias c="tr -d '\n' | pbcopy"