mirror of
https://github.com/wting/autojump
synced 2025-06-13 12:54:07 +00:00
Merge bcb7ffeaf5
into 2de05fde9c
This commit is contained in:
commit
557824e5d4
@ -41,6 +41,11 @@ if [[ ${#} == 0 ]]; then
|
|||||||
set -- "--auto"
|
set -- "--auto"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Only dry-run should also default to --auto
|
||||||
|
if [[ ${#} == 1 ]] && ([[ $1 = "-n" ]] || [[ $1 = "--dry-run" ]]); then
|
||||||
|
set -- "-n" "--auto"
|
||||||
|
fi
|
||||||
|
|
||||||
# Command line parsing
|
# Command line parsing
|
||||||
while true; do
|
while true; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
Loading…
Reference in New Issue
Block a user