Skip to content

Commit

Permalink
Avoid unbound variable errors on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Oct 25, 2020
1 parent c2c23c5 commit 3291bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3291bbf

Please sign in to comment.