1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

Use standard open command in fasd and lighthouse plugins

This commit is contained in:
Marc Cornellà 2015-08-05 01:02:17 +02:00
parent d1d06b5675
commit b760a10cb2
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ if [ $commands[fasd] ]; then # check if fasd is installed
fi
source "$fasd_cache"
unset fasd_cache
alias v='f -e vim'
alias o='a -e open'
fi
alias v='f -e vim'
alias o='a -e open_command'
fi

View file

@ -9,7 +9,7 @@ open_lighthouse_ticket () {
else
lighthouse_url=$(cat .lighthouse-url);
echo "Opening ticket #$1";
`open $lighthouse_url/tickets/$1`;
open_command "$lighthouse_url/tickets/$1";
fi
}