]>
git.rmz.io Git - dotfiles.git/blob - zsh/plugins/lighthouse/lighthouse.plugin.zsh
1 # To use: add a .lighthouse file into your directory with the URL to the
2 # individual project. For example:
3 # https://rails.lighthouseapp.com/projects/8994
4 # Example usage: http://screencast.com/t/ZDgwNDUwNT
5 open_lighthouse_ticket
() {
6 if [ ! -f .lighthouse
-url ]; then
7 echo "There is no .lighthouse-url file in the current directory..."
10 lighthouse_url
=$(cat .lighthouse-url);
11 echo "Opening ticket #$1";
12 `open $lighthouse_url/tickets/$1`;
16 alias lho
='open_lighthouse_ticket'