diff --git a/fish/.config/fish/functions/topf.fish b/fish/.config/fish/functions/topf.fish new file mode 100644 index 0000000..10e8a34 --- /dev/null +++ b/fish/.config/fish/functions/topf.fish @@ -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