summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2019-11-21 08:44:53 +0000
committerIan C <ianc@noddybox.co.uk>2019-11-21 08:44:53 +0000
commita44f1ab98e9ff9dc2490fc30eff2101c1ad2e482 (patch)
tree1e2ce6951eece8a082a8c5a4ee559fc917a110e1
parent96be7ae48a4386a9795fe5d6c345fb8b80b6d9be (diff)
Added search to aliases. Needs find -print0 and xargs -0.
-rw-r--r--dotrc/.bash_aliases1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotrc/.bash_aliases b/dotrc/.bash_aliases
index 06eeecf..b902e9c 100644
--- a/dotrc/.bash_aliases
+++ b/dotrc/.bash_aliases
@@ -14,6 +14,7 @@ alias psu="ps -f -u $LOGNAME"
alias h="history"
alias p="pwd"
alias start=cygstart
+alias search="find . -type f -print0 | xargs -0 grep"
alias wenv="env | egrep "