Sha256: 3799f5282354b58e66dcb9c3000e50f597cad9f49a10670dd0cfc47e2d3c186d

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 Bytes

Contents

require 'rubygems'
require 'fileutils'
require 'thor'
require 'active_model'
require 'dots/dot_file'
require 'dots/command'
require 'dots/version'
require 'dots/persistence'
require 'dots/installation'

module Dots
  # The root path of the DOTS gem.
  def self.root
    @root_dir ||= begin
      spec = Gem::Specification.find_by_name 'zsh_dots'
      spec.gem_dir
    end
  end

  # The home directory of DOTS.
  def self.home
    @home_dir ||= File.expand_path "~/.dots"
  end

  # Usage information for the DOTS command line tool.
  USAGE_INFORMATION = <<-TEXT

  The DOTS Project

  DOTS is a ZSH Framework for managing your dotfiles and other shell configuration.
  It also gives you some nice, sensible defaults and time-saver aliases to better
  work with and understand your shell environment.

  The following tasks are meant to help you use the shell more efficiently...

  TEXT

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zsh_dots-0.5.4 lib/ruby/dots.rb
zsh_dots-0.5.3 lib/ruby/dots.rb