mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Set default installation to auto if only --force flag is passed.
This commit is contained in:
parent
de0957ba18
commit
626946bccc
@ -29,7 +29,6 @@ function help_msg {
|
||||
}
|
||||
|
||||
dry_run=
|
||||
auto=
|
||||
local=
|
||||
force=
|
||||
shell=`echo ${SHELL} | awk -F/ '{ print $NF }'`
|
||||
@ -62,6 +61,9 @@ while true; do
|
||||
-f|--force)
|
||||
force=true
|
||||
shift
|
||||
if [[ ${#} == 0 ]]; then
|
||||
set -- "--auto"
|
||||
fi
|
||||
;;
|
||||
-g|--global)
|
||||
destdir=
|
||||
|
Loading…
Reference in New Issue
Block a user