function pft --description 'Select a process to run perf top' set proc (ps -ef | fzf | awk '{print $2}') perf top -p $proc end