Skip to content

Commit

Permalink
Comenting prompt of VimShell to work with the new version
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Mar 6, 2012
1 parent dbf0158 commit df15b8f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/vimshell.vim
@@ -1,13 +1,13 @@
map <LEADER>s :VimShell<CR> map <LEADER>s :VimShell<CR>
map <LEADER>i :VimShellInteractive<CR> map <LEADER>i :VimShellInteractive<CR>
function! Roman_vimshell_user_prompt() "function! Roman_vimshell_user_prompt()
let s:user = $USER " let s:user = $USER
let s:path = fnamemodify(getcwd(), ":~") " let s:path = fnamemodify(getcwd(), ":~")
let s:host = hostname() " let s:host = hostname()
let s:branch = vimshell#vcs#info("[branch: %b]") " let s:branch = vimshell#vcs#info("[branch: %b]")
return s:user . "@" . s:host . ": " . s:path . " " . s:branch " return s:user . "@" . s:host . ": " . s:path . " " . s:branch
endfunction "endfunction

"
let g:vimshell_user_prompt = 'Roman_vimshell_user_prompt()' "let g:vimshell_user_prompt = 'Roman_vimshell_user_prompt()'
let g:vimshell_prompt = "$ " "let g:vimshell_prompt = "$ "

0 comments on commit df15b8f

Please sign in to comment.