Skip to content

Commit

Permalink
Alias ack if ack-grep exists
Browse files Browse the repository at this point in the history
  • Loading branch information
milagre committed Jul 15, 2013
1 parent 955b2b4 commit a9b3cfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bash_aliases
@@ -1,3 +1,4 @@
#!/bin/bash
# ~/.bash_aliases

alias grep='grep --color=auto'
Expand All @@ -7,6 +8,9 @@ alias ls='ls -AlF --color=auto'
alias l='ls'
alias v='vim'
alias tf='tail -f'
if command -v ack-grep >/dev/null; then
alias ack='ack-grep'
fi
# Enables alias expansion while using sudo
alias sudo='sudo '

0 comments on commit a9b3cfb

Please sign in to comment.