From c1f292b08967c29114d4334f7143363d8be0c9bc Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 28 Mar 2023 15:03:34 +0200 Subject: up --- .config/zsh/alias.zsh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.config') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 56824e7..911d4fb 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -233,9 +233,14 @@ search() { alias watch='cmdwatch' \ tsd='transmission-daemon' \ tsm='transmission-remote' \ - rsox='sox -t oss default' \ - pstree='dtpstree -U' \ - open='xdg-open' \ + rsox='sox -t oss default' +pstree() { + case $(hostname -s) in + mother|po-rbo) pstree -U ;; + mars) dtpstree -U ;; + esac +} +alias open='xdg-open' \ speedtest='speedtest --bytes' \ calcurse='calcurse -C $XDG_CONFIG_HOME/calcurse -D $XDG_DATA_HOME/calcurse' \ abook='abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook' \ -- cgit v1.2.3