lighthouse.plugin.zsh
305 bytes
1open_lighthouse_ticket () {
2 if [ ! -f .lighthouse-url ]; then
3 echo "There is no .lighthouse-url file in the current directory..."
4 return 0
5 fi
6
7 lighthouse_url=$(cat .lighthouse-url)
8 echo "Opening ticket #$1"
9 open_command "$lighthouse_url/tickets/$1"
10}
11
12alias lho='open_lighthouse_ticket'