lib/myosx/dotfiles.rb in myosx-0.2.6 vs lib/myosx/dotfiles.rb in myosx-0.2.7

- old
+ new

@@ -2,18 +2,19 @@ # # Pulls a dotfiles repo and symlinks the files where you specify # require 'yaml' require 'git' -require_relative 'config' -class Dotfiles < Config +require_relative 'konfig' + +class Dotfiles def config - Config.new.global['dotfiles'] + Konfig.new.global['dotfiles'] end def dotfiledir - File.join(Config.new.workspace_directory, 'dotfiles') + File.join(Konfig.new.workspace_directory, 'dotfiles') end def repo(repo, target, local_repo = 'dotfiles') if Git.ls_remote(repo) unless File.exist?(target)