summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-10-22 11:32:13 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-10-22 11:32:13 +1100
commit284c200350d3c93dc76bed4d677cf19bdc012f56 (patch)
tree17a60e6cb69f34091e6f4555667db3337911d36f
parent3f4476a50c12130024462d6a2876b29017da361a (diff)
empty dir msg
-rwxr-xr-xfff2
1 files changed, 1 insertions, 1 deletions
diff --git a/fff b/fff
index f78113c..bece3e9 100755
--- a/fff
+++ b/fff
@@ -12,7 +12,7 @@ refresh() {
get_dir() {
d=(); f=()
for p in "$PWD"/*; do [[ -d $p ]] && d+=("$p") || f+=("$p"); done
- f=("${d[@]}" "${f[@]}")
+ f=("${d[@]}" "${f[@]}"); ((${#f[@]}==0)) && f[0]="empty"
}
f_print() {