|
|
@ -134,9 +134,9 @@ if zstyle -t ':prezto:module:utility:grep' color; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# macOS Everywhere
|
|
|
|
# macOS Everywhere
|
|
|
|
if [[ "$OSTYPE" == darwin* ]]; then
|
|
|
|
if is-darwin; then
|
|
|
|
alias o='open'
|
|
|
|
alias o='open'
|
|
|
|
elif [[ "$OSTYPE" == cygwin* ]]; then
|
|
|
|
elif is-cygwin; then
|
|
|
|
alias o='cygstart'
|
|
|
|
alias o='cygstart'
|
|
|
|
alias pbcopy='tee > /dev/clipboard'
|
|
|
|
alias pbcopy='tee > /dev/clipboard'
|
|
|
|
alias pbpaste='cat /dev/clipboard'
|
|
|
|
alias pbpaste='cat /dev/clipboard'
|
|
|
@ -166,7 +166,7 @@ fi
|
|
|
|
alias df='df -kh'
|
|
|
|
alias df='df -kh'
|
|
|
|
alias du='du -kh'
|
|
|
|
alias du='du -kh'
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" == (darwin*|*bsd*) ]]; then
|
|
|
|
if is-darwin || is-bsd; then
|
|
|
|
alias topc='top -o cpu'
|
|
|
|
alias topc='top -o cpu'
|
|
|
|
alias topm='top -o vsize'
|
|
|
|
alias topm='top -o vsize'
|
|
|
|
else
|
|
|
|
else
|
|
|
|