diff options
| author | Deposite Pirate | 2025-10-22 23:52:19 +0200 |
|---|---|---|
| committer | Deposite Pirate | 2025-10-22 23:52:19 +0200 |
| commit | 4258e7a78d96c869e64f780d1330d3d1c0cc431b (patch) | |
| tree | 01e17bfda3224b32e52c2f859021da2985199801 /conf.d | |
| parent | f199cf220c16d71da57a828d24ef6775bd0ff202 (diff) | |
Look for a better top
modified: conf.d/02platform.fish
Diffstat (limited to 'conf.d')
| -rw-r--r-- | conf.d/02platform.fish | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
