From aa7ab490d8676978e2d82260c3532834c11e55ea Mon Sep 17 00:00:00 2001 From: Kevin Zhuang Date: Tue, 25 Aug 2020 08:36:55 +1000 Subject: [PATCH] fix: dotbare no args NULL error #23 --- dotbare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotbare b/dotbare index 05906a1..f573a83 100755 --- a/dotbare +++ b/dotbare @@ -44,7 +44,7 @@ Available commands: function list_dotbare_commands() { find "${mydir}"/scripts/* -type f -print0 \ - | xargs -I __ basename __ \ + | xargs -I __ -0 basename __ \ | fzf --no-multi --header='Available commands' --preview="${mydir}/dotbare {} -h" \ | xargs -I __ "${mydir}"/dotbare __ -h }