Commit b760a10c authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Use standard open command in fasd and lighthouse plugins

parent d1d06b56
...@@ -5,7 +5,7 @@ if [ $commands[fasd] ]; then # check if fasd is installed ...@@ -5,7 +5,7 @@ if [ $commands[fasd] ]; then # check if fasd is installed
fi fi
source "$fasd_cache" source "$fasd_cache"
unset fasd_cache unset fasd_cache
alias v='f -e vim' alias v='f -e vim'
alias o='a -e open' alias o='a -e open_command'
fi fi
...@@ -9,7 +9,7 @@ open_lighthouse_ticket () { ...@@ -9,7 +9,7 @@ open_lighthouse_ticket () {
else else
lighthouse_url=$(cat .lighthouse-url); lighthouse_url=$(cat .lighthouse-url);
echo "Opening ticket #$1"; echo "Opening ticket #$1";
`open $lighthouse_url/tickets/$1`; open_command "$lighthouse_url/tickets/$1";
fi fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment