From 656dd2ceeef4913f2b09fc52936d84d81846c0c8 Mon Sep 17 00:00:00 2001 From: James Tomasino Date: Tue, 14 Aug 2018 23:57:16 -0400 Subject: [PATCH] added ls results to tab completion --- pb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pb b/pb index b4efc1c..b4d23a2 100755 --- a/pb +++ b/pb @@ -108,7 +108,8 @@ fi if [ ${flag_shortlist} -gt 0 ]; then out="-f -v -h -s" - die "${out}" 0 + lsresults="$(ls)" + die "${out} ${lsresults}" 0 fi if [ ${flag_file} -gt 0 ]; then