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