[meta] fix rake config sync task
change
commit c92136fb2f770945cb6bfedc84d67a368d8957a4
author Alpha Chen <alpha.chen@gmail.com>
date
parent 20a281e0
diff --git a/Rakefile b/Rakefile
index e651d4be..86709f85 100644
--- a/Rakefile
+++ b/Rakefile
@@ -50,7 +50,7 @@ namespace :sync do
   desc "Sync a config"
   task :config, [:config] do |t, args|
     config = File.expand_path(args[:config])
-    to = config.sub(Dir.home, '\1/.dotfiles')
+    to = config.sub(Dir.home, '\0/.dotfiles')
 
     mv config, to
     ln_s to, config