Skip to content

Commit

Permalink
Don't use EOS.undent
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed May 4, 2018
1 parent a540efd commit adecbf8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions npshell.rb
Expand Up @@ -14,7 +14,7 @@ class Npshell < Formula
if build.with? "terminal-notifier"
depends_on "id3v2"

def caveats; <<-EOS.undent
def caveats; <<-EOS
Notifications are not autostarted by brew; to do so
add the following line to your ~/.bash_profile:
np notify --is-running || ( np notify & )
Expand All @@ -25,7 +25,7 @@ def caveats; <<-EOS.undent
EOS
end
else
def caveats; <<-EOS.undent
def caveats; <<-EOS
The daemon can also run when you start your terminal.
Add the following line to your ~/.bash_profile:
np daemon --is-running || ( np daemon & )
Expand All @@ -39,7 +39,7 @@ def install
end

plist_options :startup => false, :manual => "np daemon"
def plist; <<-EOS.undent
def plist; <<-EOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-/Apple/DTD PLIST 1.0/EN" "http:/www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
Expand Down

0 comments on commit adecbf8

Please sign in to comment.