From a29eb18c496e63fa53ad4ce44eeb4e0af34a2fd1 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 27 Aug 2017 10:07:13 -0400 Subject: [PATCH] Add an alias for xdg-open --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 7ccb402..1322ce8 100644 --- a/zshrc +++ b/zshrc @@ -71,6 +71,10 @@ if [[ -f /usr/local/share/zsh/site-functions/_aws ]] ; then source /usr/local/share/zsh/site-functions/_aws fi +if command -v xdg-open &>/dev/null; then + alias open=xdg-open +fi + unsetopt correct_all bindkey '^R' history-incremental-search-backward