Skip to content

Commit

Permalink
Merge pull request #190 from jonmarkprice/master
Browse files Browse the repository at this point in the history
Removed non-functioning "go home" command.
  • Loading branch information
Joshua Horwitz authored Feb 20, 2018
2 parents 462be29 + dc457f5 commit f95c4e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def ask(prompt="", newline=false)
if Dir.exist? INSTALL_LOC
# raise "~/betty already exists! Please manually remove if you want to proceed"
else
COPY_COMMAND = 'cp -rf ' + Dir.pwd + ' ' + INSTALL_LOC
COPY_COMMAND = 'cp -rf ' + File.dirname(__FILE__) + ' ' + INSTALL_LOC
print "Running `" + COPY_COMMAND + "`\n"
system COPY_COMMAND
end
Expand Down
6 changes: 0 additions & 6 deletions lib/fun.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ def self.interpret(command)
}
end

if command.match(/go home/)
responses << {
:command => "cd ~"
}
end

if command.match(/sing (.*)/)
responses << {
:command => "say -v cello #{$~}"
Expand Down

0 comments on commit f95c4e3

Please sign in to comment.