From 3291bbf50db12cf0e6abd6ad81f9fdeef0eaf629 Mon Sep 17 00:00:00 2001 From: William Melody Date: Sat, 24 Oct 2020 18:09:25 -0700 Subject: [PATCH] Avoid unbound variable errors on macOS. --- nb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nb b/nb index 42cd39b97..80b4f6b5b 100755 --- a/nb +++ b/nb @@ -4073,7 +4073,7 @@ HEREDOC _count() { local _list_files_options=(${@:-}) - _list_files "${_list_files_options[@]}" | wc -l | tr -d ' ' + _list_files "${_list_files_options[@]:-}" | wc -l | tr -d ' ' } # delete ############################################################### delete