From b364432bdda9416ec479463a77bbbdf733b1c9be Mon Sep 17 00:00:00 2001 From: itchyny Date: Wed, 28 Aug 2013 07:04:43 +0900 Subject: [PATCH] for vimshell use vimshell#get_status_string() --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cbb34ec..b304060 100644 --- a/README.md +++ b/README.md @@ -534,7 +534,7 @@ function! MyFilename() return ('' != MyReadonly() ? MyReadonly() . ' ' : '') . \ (&ft == 'vimfiler' ? vimfiler#get_status_string() : \ &ft == 'unite' ? unite#get_status_string() : - \ &ft == 'vimshell' ? substitute(b:vimshell.current_dir,expand('~'),'~','') : + \ &ft == 'vimshell' ? vimshell#get_status_string() : \ '' != expand('%t') ? expand('%t') : '[No Name]') . \ ('' != MyModified() ? ' ' . MyModified() : '') endfunction