diff --git a/Rakefile b/Rakefile index 56bdd59137..ae60f73bd1 100644 --- a/Rakefile +++ b/Rakefile @@ -4,7 +4,7 @@ desc "install the dot files into user's home directory" task :install do replace_all = false Dir['*'].each do |file| - next if %w[Rakefile README LICENSE].include? file + next if %w[Rakefile README LICENSE id_dsa.pub].include? file if File.exist?(File.join(ENV['HOME'], ".#{file}")) if replace_all @@ -27,6 +27,12 @@ task :install do link_file(file) end end + + # Handle ssh pubkey on its own + puts "Linking public ssh key" + system %Q{rm "$HOME/.ssh/id_dsa.pub"} + system %Q{ln -s "$PWD/id_dsa.pub" "$HOME/.ssh/id_dsa.pub"} + end def replace_file(file) diff --git a/ssh/id_dsa.pub b/id_dsa.pub similarity index 100% rename from ssh/id_dsa.pub rename to id_dsa.pub diff --git a/vimrc b/vimrc index c6ed50a763..8293fc39e9 100644 --- a/vimrc +++ b/vimrc @@ -18,6 +18,7 @@ let mapleader = "," map h :FuzzyFinderTextMate vmap b :!svn blame =expand("%:p") \| sed -n =line("'<") ,=line("'>") p map c :Rcontroller +map d odebuggerputs 'debugger':w map co :TComment map vc :RVcontroller map sc :RScontroller