commit 2334cd4735c1b00cd2890085f815697a9f510d6a
parent 90668b1033040c46911695cf997aa5f0c092c676
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Fri, 2 Apr 2021 21:39:21 -0700
Exclude the current directory in the sfind shell function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/local/shell/.local/share/shell/simple b/local/shell/.local/share/shell/simple
@@ -13,7 +13,7 @@ grab() xclip -selection clipboard "$@"
grep() egrep "$@"
ls() 9 ls "$@"
reload() . "${ENV:?unset}"
-sfind() find . -maxdepth 1 "$@"
+sfind() find . -maxdepth 1 -mindepth 1 "$@"
tolower() tr '[:upper:]' '[:lower:]'
toupper() tr '[:lower:]' '[:upper:]'