function psmem --description 'Show memory usage of a process' set proc (ps -ef | fzf | awk '{print $2}') if test -n "$proc" ps_mem -p $proc end end