aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-01-04 10:30:41 +0800
committerGuangxiong Lin <[email protected]>2022-01-04 10:30:41 +0800
commit7c8a8bbc03167c541dc5d42d50393bd6bf208834 (patch)
tree92d772b88f2622cb36aab8efadc377de98dbd8f7
parentbf00f3f3e3a240594c08bc3599103fe7680acbcf (diff)
downloaddotfiles-7c8a8bbc03167c541dc5d42d50393bd6bf208834.tar.gz
dotfiles-7c8a8bbc03167c541dc5d42d50393bd6bf208834.tar.bz2
dotfiles-7c8a8bbc03167c541dc5d42d50393bd6bf208834.zip
Alias xdg-open as open
-rw-r--r--.aliases2
1 files changed, 2 insertions, 0 deletions
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'