Browse Source

Fix lighthouse plugin error message

master
Tom Stuart 14 years ago
parent
commit
a2be11e42d
  1. 4
      plugins/lighthouse/lighthouse.plugin.zsh

4
plugins/lighthouse/lighthouse.plugin.zsh

@ -4,7 +4,7 @@
# Example usage: http://screencast.com/t/ZDgwNDUwNT # Example usage: http://screencast.com/t/ZDgwNDUwNT
open_lighthouse_ticket () { open_lighthouse_ticket () {
if [ ! -f .lighthouse-url ]; then if [ ! -f .lighthouse-url ]; then
echo "There is no .lighthouse file in the current directory..." echo "There is no .lighthouse-url file in the current directory..."
return 0; return 0;
else else
lighthouse_url=$(cat .lighthouse-url); lighthouse_url=$(cat .lighthouse-url);
@ -13,4 +13,4 @@ open_lighthouse_ticket () {
fi fi
} }
alias lho='open_lighthouse_ticket' alias lho='open_lighthouse_ticket'

Loading…
Cancel
Save