dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 5ae80bb659706e928e18f07a554c9d9fcf1cfa17
parent e53969ad06f17cc77944c66f2bb4741d925b5f0d
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri, 19 Jan 2018 08:15:38 -0500

my-open: Try to match desktop environment

Diffstat:
M.local/bin/my-open | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.local/bin/my-open b/.local/bin/my-open @@ -13,12 +13,14 @@ if type cygstart > /dev/null 2>&1 then handler=cygstart -elif type exo-open > /dev/null 2>&1 -then - handler=exo-open elif type xdg-open > /dev/null 2>&1 then handler=xdg-open +# Most of the following handlers are used within xdg-open, but we should +# check for them anyway since xdg-open doesn't exist +elif type exo-open > /dev/null 2>&1 +then + handler=exo-open # Because of its ambiguity, open (the macOS handler) should always be # tested last elif type open > /dev/null 2>&1