lighthouse.plugin.zsh 305 B

12345678910111213
  1. open_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. lighthouse_url=$(cat .lighthouse-url)
  7. echo "Opening ticket #$1"
  8. open_command "$lighthouse_url/tickets/$1"
  9. }
  10. alias lho='open_lighthouse_ticket'