commit 186605f3e963112ffba6a511d364f5ea86815131
parent 015795590b93665364bee742fb22c55ba7b4ee5a
Author: jacob@nzxt <jacobouno@protonmail.com>
Date: Wed, 15 Apr 2020 08:31:20 -0700
add find iregex function (f)
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/aliases/.aliases b/aliases/.aliases
@@ -63,6 +63,11 @@ t() { sleep $(calc -d "$1" \* 60); $2 ;}
# start tmux automaticly on ssh
ssh() { /usr/bin/ssh -t "$@" "tmux a || tmux new" ;}
+# find REGEX within current wd
+f() {
+ find . -iregex ".*$@.*"
+}
+
## multi-line functions