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
1 changed files with 4 additions and 0 deletions

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