public
Fork of wycats/textmate
Description: Command-line package manager for textmate. Like rubygems for TextMate Bundles
Homepage: http://www.yehudakatz.com
Clone URL: git://github.com/subtleGradient/textmate.git
Search Repo:
Added the Application bundles path
Wed May 14 20:57:13 -0700 2008
commit  a35a1d875817e9f9220f3408b0ad4297adb23fcd
tree    fb681cd48fca8db247018195ff13f6477ddf5fd6
parent  ed74b1842e453fad7a02d2286abf859f7deb01ff
...
41
42
43
 
 
 
44
45
46
47
48
49
...
72
73
74
75
 
 
76
77
78
...
41
42
43
44
45
46
47
 
 
48
49
50
...
73
74
75
 
76
77
78
79
80
0
@@ -41,9 +41,10 @@
0
   def uninstall(name)
0
     puts "Removing bundle..."
0
     # FIXME: Move deleted bundles to the trash instead of rm_rf-ing them?
0
+ # When moving to the trash, maybe move the bundle into a trash/disabled_bundles subfolder
0
+ # named as the bundles_path key. Just in case there are multiple versions of
0
+ # the same bundle in multiple bundle paths
0
     bundles_paths.each do |location,bundles_path|
0
- # When moving to the trash, maybe rename the bundle and add the bundles_path key to the name,
0
- # just in case there are multiple versions of the same bundle in multiple bundle paths
0
       FileUtils.rm_rf("#{bundles_path}/#{name}.tmbundle")
0
     end
0
     puts "Reloading bundles..."
0
@@ -72,7 +73,8 @@
0
   end
0
   
0
   def bundles_paths
0
- { :User => "#{ENV["HOME"]}/Library/Application Support/TextMate/Bundles",
0
+ { :Application => '/Applications/TextMate.app/Contents/SharedSupport/Bundles',
0
+ :User => "#{ENV["HOME"]}/Library/Application Support/TextMate/Bundles",
0
       :System => '/Library/Application Support/TextMate/Bundles',
0
       :'User Pristine' => "#{ENV["HOME"]}/Library/Application Support/TextMate/Pristine Copy",
0
       :'System Pristine' => '/Library/Application Support/TextMate/Pristine Copy',

Comments

    No one has commented yet.