hb

Log | Files | Refs | README | LICENSE

commit f9e4dab0c8316cda06758c1cdcb8e09c18931a52
parent 62d37548ecae4def64f6649fa5481349427194cc
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Wed, 10 Nov 2021 18:25:13 +0530

Fix: nb crashes when invoked without arguments

Diffstat:
Mnb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nb b/nb @@ -47,7 +47,7 @@ test -z "${EDITOR}" && export EDITOR=vi # if folder does not exist cd "${NB_PATH}" || nb_fatal_error "NB_PATH is not a directory" nb_option=${1} -shift; +[ $? -gt 1 ] && shift case $nb_option in #TODO pass params to nb_browse '')nb_browse ;;