Permalink
Browse files

Merge pull request #31 from asomorjai/patch-1

Set the global command_prefix correctly
  • Loading branch information...
2 parents eaef565 + cb51a08 commit 68a619c757de1829f5db9306f4d1f38e196c654d @ericmartel committed Dec 19, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 Perforce.py
View
@@ -54,6 +54,7 @@ def on_activated(self, view):
def PrepareCommand():
perforce_settings = sublime.load_settings('Perforce.sublime-settings')
p4Env = perforce_settings.get('perforce_p4env')
+ global command_prefix
command_prefix = ''
if(p4Env and p4Env != ''):
command_prefix = 'source ' + p4Env + ' && '

0 comments on commit 68a619c

Please sign in to comment.