fish: functions/topf: Add an alias for top

This commit is contained in:
Sanchayan Maity 2022-02-01 11:54:55 +05:30
parent e29db6f236
commit 371794dfc7

View file

@ -0,0 +1,4 @@
function topf --description 'Select a process to run top'
set proc (ps -ef | fzf | awk '{print $2}')
top -H -p $proc
end