summaryrefslogtreecommitdiff
path: root/functions/aliases.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/aliases.sh')
-rwxr-xr-xfunctions/aliases.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions/aliases.sh b/functions/aliases.sh
index c4e029038..15ae2ae58 100755
--- a/functions/aliases.sh
+++ b/functions/aliases.sh
@@ -17,6 +17,11 @@ Truncate ()
done
}
+Find_files ()
+{
+ (ls "${@}" | grep -qs .) > /dev/null 2>&1
+}
+
In_list ()
{
NEEDLES="${1}"