From 4258e7a78d96c869e64f780d1330d3d1c0cc431b Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Wed, 22 Oct 2025 23:52:19 +0200 Subject: Look for a better top modified: conf.d/02platform.fish --- conf.d/02platform.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf.d/02platform.fish b/conf.d/02platform.fish index eef0431..a3c8e69 100644 --- a/conf.d/02platform.fish +++ b/conf.d/02platform.fish @@ -34,6 +34,14 @@ if status is-interactive alias fishupd 'pushd ~/.config/fish ; git pull ; popd' end + # process viewer to look for by order of preference + set topprg 'htop' 'btop' + set found_topprg (find_prog $topprg) + + if test -n "$found_topprg" + alias top "$found_topprg" + end + ### Linux function handle_linux -- cgit v1.3.1