From 17ce51fe9fa039a838d73818eea44fdaf021bf64 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 28 Nov 2022 08:27:17 +0100 Subject: [PATCH] fzf+ps alias --- zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 4f5bcd2..34d7738 100644 --- a/zshrc +++ b/zshrc @@ -167,8 +167,9 @@ fi # Qu'est-ce qui consomme de la mémoire vive sur le système alias wotgobblemem='ps -o time,ppid,pid,nice,pcpu,pmem,user,comm -A | sort -n -k 6 | tail -15' -# Afficher uniquement le processus à partir de ps +# ps aliases alias px='ps faux|grep -v grep|grep -iE -e VSZ -e ' +alias fpx="ps -ef | fzf --bind 'ctrl-r:reload(ps -ef)' --header 'Press CTRL-R to reload' --header-lines=1 --color fg:188,bg:233,hl:103,fg+:222,bg+:234,hl+:104" # Décompression alias untargz='tar -zxvf'