]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libedit: Reduce surprising behaviour with filename completion some more:
authorjilles <jilles@FreeBSD.org>
Tue, 15 Jun 2010 22:23:21 +0000 (22:23 +0000)
committerjilles <jilles@FreeBSD.org>
Tue, 15 Jun 2010 22:23:21 +0000 (22:23 +0000)
commitcb8c5b97a1adf75b295794bc74d8810617da0ca4
tree7cdaa8be2d5df7afd3929ea13d1e043f0995a0cb
parent4caf6504e1f29021a200d7c1412890487e20a96b
libedit: Reduce surprising behaviour with filename completion some more:
* Quote '*', '?' and '['. While it may be more useful to expand them to
  matching pathnames, this at least matches with the completion we do.
* '@' is a regular character for filenames. Some other shells do
  @<hostname> completion but we do not.
* Prefix names starting with '-' and '+' with './' so they are not seen as
  options.
lib/libedit/filecomplete.c