fish: Add an alias to ps_mem
This commit is contained in:
parent
5c6e1001b6
commit
de0a69ee11
1 changed files with 4 additions and 0 deletions
4
fish/.config/fish/functions/psmem.fish
Normal file
4
fish/.config/fish/functions/psmem.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function psmem --description 'Show memory usage of a process'
|
||||
set proc (ps -ef | fzf | awk '{print $2}')
|
||||
ps_mem -p $proc
|
||||
end
|
Loading…
Reference in a new issue