summaryrefslogblamecommitdiff
path: root/.bashrc.files/functions
blob: fbab13d7d2dc90ff413a5994684e396c12f0ceeb (plain) (tree)
1
2
3
4
5
6





                                                                    
function vimgrep()
{
    if [ -z $1 ]; then echo -e "vimgrep PATTERN PATH"; return 1; fi 
    if [ -z $2 ]; then echo -e "vimgrep PATTERN PATH"; return 1; fi 
    \grep -IRn $1 $2 | vim -
}