From 7c8a8bbc03167c541dc5d42d50393bd6bf208834 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 4 Jan 2022 10:30:41 +0800 Subject: Alias xdg-open as open --- .aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.aliases b/.aliases index d629f13..9b20fca 100644 --- a/.aliases +++ b/.aliases @@ -7,6 +7,8 @@ alias nb='cd ~/journals; vim index.md; cd -' alias todo='cd ~/journals; vim gtd.md; cd -' alias vimg='vim +Git +only' +[ -f /usr/bin/xdg-open ] && alias open='xdg-open' + if [ -f /usr/bin/pacman ]; then alias S='pacman -S' alias Si='pacman -Si' -- cgit v1.2.3