Skip to content

Commit

Permalink
Fix -r and -t options with common dirs (fixes #235) (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruduran authored Sep 29, 2020
1 parent 9f76454 commit 125f4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ _z() {
}
}
} else {
if( common ) best_match = common
if( common && !typ ) best_match = common
print best_match
}
}
Expand Down

0 comments on commit 125f4dc

Please sign in to comment.