summaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/alias.zsh11
1 files changed, 8 insertions, 3 deletions
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' \