kernel find file and its alias added

This commit is contained in:
Sameer Rahmani 2013-05-29 00:34:18 +04:30
parent c99879778d
commit 2644d6ed73
2 changed files with 7 additions and 0 deletions

View File

@ -29,3 +29,7 @@ alias ew="emacs -nw"
alias k="kuso"
alias g="git"
alias gl="git pull"
alias gp="git push"
alias kff="kernel_find_file"

3
lib/kernel.zsh Normal file
View File

@ -0,0 +1,3 @@
function kernel_find_file() {
git grep $1 | cut -d ":" -f 1 | grep $1 | sort | uniq -u
}