diff --git a/dotfiles/aliases b/dotfiles/aliases index 15d377b..76c7842 100644 --- a/dotfiles/aliases +++ b/dotfiles/aliases @@ -25,9 +25,6 @@ alias mdcode="sed 's/^/ /'" # Intel format plz alias objdump="command objdump -M intel" -# ACK -alias ack="ack-grep" - # Launch chrome for burp alias chrome-for-burp="/usr/bin/google-chrome --ignore-certificate-errors --user-data-dir=${HOME}/.chrome-for-burp --proxy-server=127.0.0.1:8080 >/dev/null 2>&1 &" diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 839daf0..b1f4c9d 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -55,5 +55,10 @@ if [[ $- == *i* ]] ; then for file in $HOME/.zshrc.d/* ; do source "$file" ; done fi +# In case ack is named ack-grep +if [ -x /usr/bin/ack-grep ] ; then + alias ack='/usr/bin/ack-grep' +fi + # Load any local settings if [ -e $HOME/.zshrc.local ] ; then source $HOME/.zshrc.local ; fi