mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-01-10 05:22:32 +08:00
Use shortened path name of current working directory as the prompt
This commit is contained in:
@@ -118,7 +118,7 @@ function! s:files(dir, bang)
|
||||
let args.dir = dir
|
||||
let args.options .= ' --prompt '.shellescape(dir)
|
||||
else
|
||||
let args.options .= ' --prompt "./"'
|
||||
let args.options .= ' --prompt '.shellescape(pathshorten(getcwd())).'/'
|
||||
endif
|
||||
|
||||
call s:fzf(args, a:bang)
|
||||
|
||||
Reference in New Issue
Block a user