Use standard open command in fasd and lighthouse plugins
This commit is contained in:
parent
d1d06b5675
commit
b760a10cb2
|
@ -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 o='a -e open'
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
alias v='f -e vim'
|
||||||
|
alias o='a -e open_command'
|
||||||
|
fi
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue