diff options
| -rw-r--r-- | README.markdown | 2 | ||||
| -rw-r--r-- | hcl.gemspec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index e08535e..52fb0ad 100644 --- a/README.markdown +++ b/README.markdown @@ -129,7 +129,7 @@ The above starts and immediately stops a one-hour timer with the given note. You can enable auto-completion of commands, project ids, task ids and task aliases by adding this to your shell configuration: - source _hcl_completions + source $(ruby -e "print File.dirname(Gem.bin_path('hcl', 'hcl'))")/_hcl_completions ### Configuration Profiles diff --git a/hcl.gemspec b/hcl.gemspec index de91fe9..076f0ca 100644 --- a/hcl.gemspec +++ b/hcl.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.email = "zack@zackhobson.com" s.description = "HCl is a command-line client for manipulating Harvest time sheets." s.executables = ["hcl"] - s.files = %w[LICENSE Rakefile Gemfile bin/hcl man/hcl.1] + Dir['*.markdown'] + + s.files = %w[LICENSE Rakefile Gemfile bin/hcl bin/_hcl_completions man/hcl.1] + Dir['*.markdown'] + Dir['lib/**/*.rb'] + Dir['test/**/*.rb'] s.homepage = "https://zenhob.github.io/hcl/" s.licenses = ["MIT"] |
