Overbryd / mite.cmd

A simple command line interface for mite, a sleek time tracking webapp.
http://github.com/Overbryd/mite.cmd
MIT License
47 stars 10 forks source link

Can not save config files because of a dir with that name #15

Closed bumi closed 15 years ago

bumi commented 15 years ago

I do have a directory named ~/.bash_completion. This causes the following error:

../lib/mite_cmd/application.rb:163:in `read': Is a directory - /Users/bumi/.bash_completion (Errno::EISDIR)

Overbryd commented 15 years ago

Hy,

thanks for this bug report. I'll implement a check to see if the file to write to is not a directory.

Meanwhile you can just manually add the bash completion code and create a ~/.mite.yml file with:


:apikey: :account:

Overbryd commented 15 years ago

bash completion directories are beeing ignored in version 0.1.9

thanks for the hint!