Commit 7182cd84 authored by Hermann Mayer's avatar Hermann Mayer

BashRC: Made ff regex aware.

parent 212cfed1
......@@ -10,7 +10,7 @@
# ff: to find a file under the current directory
function ff()
{
/usr/bin/find . -name '*'"$@"'*' | grep -i "$@"
/usr/bin/find . | grep -iP "$@"
}
# ffs: to find a file whose name starts with a given string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment