2
0
mirror of https://github.com/kazhala/dotbare synced 2024-11-02 09:40:27 +00:00

fix: dotbare no args NULL error #23

This commit is contained in:
Kevin Zhuang 2020-08-25 08:36:55 +10:00
parent ca1b2afd11
commit aa7ab490d8

View File

@ -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
}