From 7e451394cee3f51843afb3a744a8b31f53b9ebbf Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 26 Jul 2016 19:18:45 +0900 Subject: [PATCH] Fix __my_ps1_memo impl --- shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shrc b/shrc index 7410d19..b9168cc 100755 --- a/shrc +++ b/shrc @@ -1099,7 +1099,7 @@ __my_ps1_bttry(){ } __my_ps1_memo(){ - test -f memo.txt && echo "m:`du -b memo.txt|cut -f 1`" + test -f memo.txt && echo "m:$(echo $(wc -c memo.txt) | cut -f 1 -d " ")" } __my_ps1_dirs(){