Browse files

Fix projectName escapes

  • Loading branch information...
1 parent f744dc7 commit b0ecf67eac581628767b0c7eea97fc438ae600b7 @elia elia committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Save Project.tmCommand
View
2 Commands/Save Project.tmCommand
@@ -12,7 +12,7 @@ tm_properties = File.join(ENV['TM_PROJECT_DIRECTORY'],'.tm_properties')
File.open(tm_properties, 'w') do |f|
f << <<-TM_PROPERTIES
projectDirectory = "$CWD"
-projectName = "${projectDirectory/.*\///}"
+projectName = "${projectDirectory/.*\\///}"
windowTitle = "$TM_DISPLAYNAME ☛${TM_SCM_BRANCH} [${projectName}]"
TM_PROPERTIES
end

0 comments on commit b0ecf67

Please sign in to comment.