Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible typo in README.md instructions #18

Open
lacostenycoder opened this issue Mar 13, 2017 · 0 comments
Open

Possible typo in README.md instructions #18

lacostenycoder opened this issue Mar 13, 2017 · 0 comments

Comments

@lacostenycoder
Copy link

To override the default output you have

function notify_formatted {
  ## $1=exit_status, $2=command, $3=elapsed_time
  [ $1 -eq 0 ] && title="Holy Smokes Batman!" || title="Holy Graf Zeppelin!"
  bgnotify "$title -- after $3 s" "$2";
}

but I think the function name should be bgnotify_formatted

function bgnotify_formatted {
  ## $1=exit_status, $2=command, $3=elapsed_time
  [ $1 -eq 0 ] && title="Great Success!" || title="Epic Fail!"
  bgnotify "$title -- after $3 s" "$2";
}

I was getting the default output message until I renamed the function in my ~/.zshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant