diff options
| -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 |
