Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Match ampersands literally

  • Loading branch information...
commit 53f3b2b0d7f792889e36dac5d5ac3c8953b0c521 1 parent 90fa9a5
@kien authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  autoload/ctrlp.vim
View
2  autoload/ctrlp.vim
@@ -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.
Something went wrong with that request. Please try again.