summaryrefslogtreecommitdiff
path: root/dotfiles-darwin/zsh/rc
diff options
context:
space:
mode:
authorGrégoire Duchêne <gregoire@awhk.org>2026-10-04 21:16:59 +0100
committerGrégoire Duchêne <gregoire@awhk.org>2026-10-04 21:16:59 +0100
commit9c06596bb38cbfb639ab4e0aeb5f5a98e4fec5e6 (patch)
treef1b04c86935582642fb08d9db5b0103c0692b579 /dotfiles-darwin/zsh/rc
parent9f0333455366f769078eb95a37f637b40e3fd059 (diff)
darwin/zsh: Prettify ‘pstree’
Diffstat (limited to 'dotfiles-darwin/zsh/rc')
-rw-r--r--dotfiles-darwin/zsh/rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles-darwin/zsh/rc b/dotfiles-darwin/zsh/rc
index 817230c..3b0931d 100644
--- a/dotfiles-darwin/zsh/rc
+++ b/dotfiles-darwin/zsh/rc
@@ -17,6 +17,10 @@ else
alias lsh='ls -Shlr | cut -f5- -w'
fi
+if command_exists pstree; then
+ alias pstree='pstree -g 3'
+fi
+
if [[ -d /opt/homebrew/share/zsh/site-functions ]]; then
# Unlike the /usr/local/… path, this path has to be manually added. We
# append it before the first system-wide ones and after the dotfiles