:cd doesn't work properly under directory which contains wildcard character.

Steps to reproduce:

  on linux

  $ mkdir -p '[z-a]/xxx'
  $ cd '[z-a]'
  $ vim -u NONE
  :cd xxx
  E16: Invalid range            <- error for [z-a]
  E344: Can't find directory "xxx"  in cdpath
  E472: Command failed


  $ mkdir -p '**/xxx/yyy'
  $ cd '**'
  $ vim -u NONE
  :cd yyy
  /tmp/**/xxx/yyy               <- cd succeeded


-- 
Yukihiro Nakadaira - [email protected]

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui