Permalink
Browse files

Match ampersands literally

  • Loading branch information...
1 parent 90fa9a5 commit 53f3b2b0d7f792889e36dac5d5ac3c8953b0c521 @kien committed Jun 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/ctrlp.vim
View
@@ -384,7 +384,7 @@ fu! s:UserCmd(lscmd)
let [ssl, &ssl, path] = [&ssl, 0, tr(path, '/', '\')]
en
if has('win32') || has('win64')
- let lscmd = substitute(lscmd, '\v(^|&&\s*)\zscd (/d)@!', 'cd /d ', '')
+ let lscmd = substitute(lscmd, '\v(^|\&\&\s*)\zscd (/d)@!', 'cd /d ', '')
en
let path = exists('*shellescape') ? shellescape(path) : path
let g:ctrlp_allfiles = split(system(printf(lscmd, path)), "\n")

0 comments on commit 53f3b2b

Please sign in to comment.