From 125f4dc47e15891739dd8262d5b23077fe8fb9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Dur=C3=A1n=20Balda?= Date: Tue, 29 Sep 2020 16:36:00 +0200 Subject: [PATCH] Fix -r and -t options with common dirs (fixes #235) (#249) --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index 6049e70..13008a6 100644 --- a/z.sh +++ b/z.sh @@ -159,7 +159,7 @@ _z() { } } } else { - if( common ) best_match = common + if( common && !typ ) best_match = common print best_match } }