|
|
@ -6,8 +6,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# Return if requirements are not found.
|
|
|
|
# Return if requirements are not found.
|
|
|
|
# assumes grc was installed in /user/local/bin
|
|
|
|
if (( ! $+commands[grc] )) || [[ $TERM == 'dumb' ]]; then
|
|
|
|
if [[ ! -h '/usr/local/bin/grc' ]] || [[ "$TERM" == dumb ]]; then
|
|
|
|
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
@ -15,15 +14,15 @@ fi
|
|
|
|
# Aliases
|
|
|
|
# Aliases
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
alias colourify="/usr/local/bin/grc -es --colour=auto"
|
|
|
|
alias colourify="$commands[grc] -es --colour=auto"
|
|
|
|
alias configure='colourify ./configure'
|
|
|
|
alias configure='colourify ./configure'
|
|
|
|
# alias diff='colourify diff' # already color coded with prezto
|
|
|
|
# alias diff='colourify diff' # already color coded with prezto
|
|
|
|
alias make='colourify make'
|
|
|
|
alias make="colourify $commands[make]"
|
|
|
|
# alias gcc='colourify gcc'
|
|
|
|
# alias gcc='colourify gcc'
|
|
|
|
# alias g++='colourify g++'
|
|
|
|
# alias g++='colourify g++'
|
|
|
|
# alias as='colourify as'
|
|
|
|
# alias as='colourify as'
|
|
|
|
# alias gas='colourify gas'
|
|
|
|
# alias gas='colourify gas'
|
|
|
|
# alias ld='colourify ld'
|
|
|
|
# alias ld='colourify ld'
|
|
|
|
alias netstat='colourify netstat'
|
|
|
|
alias netstat="colourify $commands[netstat]"
|
|
|
|
alias ping='colourify ping'
|
|
|
|
alias ping="colourify $commands[ping]"
|
|
|
|
alias traceroute='colourify /usr/sbin/traceroute'
|
|
|
|
alias traceroute="colourify $commands[traceroute]"
|
|
|
|