aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test6.out
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-20 00:26:10 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-20 00:31:33 -0700
commit8a3cf144f25dd0cb1e20928b2c2f2c53b34c40c3 (patch)
tree362fd43b490ecea73a023f249106bf9e35455ff7 /tests/test6.out
parenta381ac2691b7c1d52ec7436a7c97ba91b3d496aa (diff)
Don't include child directories of $PATH in completions
Directories are completed like commands, because of implicit cd. However, directories found inside $PATH entries should not be completed, as implicit cd doesn't work there. Similarly, directories should not be completed after the `command` builtin. Fixes #1695.
Diffstat (limited to 'tests/test6.out')
-rw-r--r--tests/test6.out3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test6.out b/tests/test6.out
index d61d3c5f..268b05ea 100644
--- a/tests/test6.out
+++ b/tests/test6.out
@@ -30,3 +30,6 @@ CCCC:
-b
-bar
CCCC:
+implicit cd complete works
+no implicit cd complete after 'command'
+PATH does not cause incorrect implicit cd