diff --git a/sh/.config/sh/alias.d/top.sh b/sh/.config/sh/alias.d/top.sh new file mode 100644 index 0000000..5966525 --- /dev/null +++ b/sh/.config/sh/alias.d/top.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env sh +## Use the preferred system monitoring application +# when invoking top. + +if exist btm; then + alias top="btm" +elif exist btop; then + alias top="btop" +elif exist gotop; then + alias top="gotop" +elif exist glances; then + alias top="glances" +elif exist bpytop; then + alias top="bpytop" +elif exist bashtop; then + alias top="bashtop" +elif exist htop; then + alias top="htop" +elif exist top; then + alias top="top" +fi