Merge branch 'fix-lighthouse-error-message' of https://github.com/mortice/oh-my-zsh into mortice-fix-lighthouse-error-message

This commit is contained in:
Robby Russell 2010-11-19 10:53:39 -08:00
commit 583c984a86

View File

@ -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'