From 70542174a297138f43c1db332a35997562a805c3 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Sun, 3 Mar 2019 14:04:50 +0100 Subject: [PATCH] add open alias for linux --- zsh/.aliases | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/.aliases b/zsh/.aliases index ef4b2c9..42f0b56 100644 --- a/zsh/.aliases +++ b/zsh/.aliases @@ -15,6 +15,11 @@ alias tl='tmux list-sessions' alias did="vim +'normal Go' +'r\!date' ~/did.txt" +if [ $OSTYPE == 'linux-gnu' ] +then + alias open="xdg-open" +fi + # Pretty print the path alias path='echo $PATH | tr -s ":" "\n"'