diff options
author | Dylan Araps <dylan.araps@gmail.com> | 2018-10-22 11:33:23 +1100 |
---|---|---|
committer | Dylan Araps <dylan.araps@gmail.com> | 2018-10-22 11:33:23 +1100 |
commit | cc7ac60272d5fb2232b581794f3899a1f2349c28 (patch) | |
tree | 0f8142ce670c5eff399858c516544753c2ee33e3 | |
parent | 284c200350d3c93dc76bed4d677cf19bdc012f56 (diff) |
empty dir msg
-rwxr-xr-x | fff | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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[@]}==0)) && f[0]="empty" + f=("${d[@]}" "${f[@]}"); ((${#f[@]}==0)) && f[0]=$'\e[27mempty' } f_print() { |