aboutsummaryrefslogtreecommitdiff
path: root/dot.zshrc.local
diff options
context:
space:
mode:
Diffstat (limited to 'dot.zshrc.local')
-rw-r--r--dot.zshrc.local5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot.zshrc.local b/dot.zshrc.local
index 19fb1f6..78ad718 100644
--- a/dot.zshrc.local
+++ b/dot.zshrc.local
@@ -63,6 +63,11 @@ qsx_fix_vcs_info
# Reset terminal cursor
printf "\033[0 q"
}
+if ! (( $+commands[open] )) && (( $+commands[gio] )); then
+ function open {
+ gio open "$@" >/dev/null 2>/dev/null
+ }
+fi
alias g=git
alias ec="emacsclient -n"
alias et="emacsclient -t"