Skip to content

Commit

Permalink
Disable perforce by default
Browse files Browse the repository at this point in the history
Touch ~/.p4enable to re-enable it on machines that need it
  • Loading branch information
mjw committed May 14, 2012
1 parent 7ac9bdf commit 7c38291
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vimrc
Expand Up @@ -18,6 +18,14 @@ if v:version < '702'
call add(g:pathogen_disabled, 'gnupg')
endif

" Disable p4 by default
call add(g:pathogen_disabled, 'perforce')

let P4ENABLE=expand("~/.p4enable")
if filereadable(P4ENABLE)
call remove(g:pathogen_disabled, 'perforce')
endif

call pathogen#infect()
call pathogen#helptags()
filetype plugin indent on
Expand Down

0 comments on commit 7c38291

Please sign in to comment.