summaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-03-28 15:03:34 +0200
committerJoe <rrbo@proton.me>2023-03-28 15:03:34 +0200
commitc1f292b08967c29114d4334f7143363d8be0c9bc (patch)
tree72f98dcb44c502177b2a2717025777f113ba607a /.config/zsh
parentup (diff)
downloaddotfiles-bsd-c1f292b08967c29114d4334f7143363d8be0c9bc.tar.gz
dotfiles-bsd-c1f292b08967c29114d4334f7143363d8be0c9bc.tar.bz2
dotfiles-bsd-c1f292b08967c29114d4334f7143363d8be0c9bc.tar.xz
dotfiles-bsd-c1f292b08967c29114d4334f7143363d8be0c9bc.tar.zst
dotfiles-bsd-c1f292b08967c29114d4334f7143363d8be0c9bc.zip
up
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' \