diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-04-18 15:05:33 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-04-18 15:14:01 +0200 |
| commit | a0d93ac5d9a6e0e9687f50b54e5f8b34b8f38f25 (patch) | |
| tree | 6f5414c93f8a13baee2001507600f43d7a37642b /.local | |
| parent | 534744db72b63e9ab6a9ab3f35a6aa59d45d3b5b (diff) | |
Add zshenv and zprofile.
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/xdg-open | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/bin/xdg-open b/.local/bin/xdg-open new file mode 100755 index 0000000..a1d6842 --- /dev/null +++ b/.local/bin/xdg-open @@ -0,0 +1,13 @@ +#!/bin/sh +# Courtesy of https://drewdevault.com/2019/12/30/dotfiles.html +case "${1%%:*}" in + http|https|*.pdf) + exec qutebrowser "$1" + ;; + mailto) + exec aerc "$1" + ;; + *) + exec /usr/bin/xdg-open "$@" + ;; +esa |
