]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/lighthouse/lighthouse.plugin.zsh
3fca2bf4f8fa9ed4a7b8b6925f8218a8eb0f5b74
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / lighthouse / lighthouse.plugin.zsh
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
7   lighthouse_url=$(cat .lighthouse-url)
8   echo "Opening ticket #$1"
9   open_command "$lighthouse_url/tickets/$1"
10 }
11
12 alias lho='open_lighthouse_ticket'