Skip to content
Snippets Groups Projects
Commit 53b0bb07 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

CONFIG: fix odd behaviour in bash completion (issue #1011)

- The test condition

      [ -n "$cur" -a ... ]

  fails if $cur starts with '-le', which bash interprets as a further
  test op. Splitting the test condition solves the problem:

      [ -n "$cur" ] && [ ... ]
parent df3a560d
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment