From b76d94423f74246955eb3eeba5142bbcecef20e2 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 12 Aug 2022 05:38:53 -0400 Subject: [PATCH] feat(global/shell): add process grep aliases --- modules/global/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/global/shell.nix b/modules/global/shell.nix index 58e1200..16128cf 100644 --- a/modules/global/shell.nix +++ b/modules/global/shell.nix @@ -19,6 +19,10 @@ in grep = "rg"; gi = "grep -i"; + # TODO: Investigate psgrep + psg = "ps x | gi -e 'PID\\s+TTY\\s+STAT\\s+TIME\\s+COMMAND' -e "; + psag = "ps ax | gi -e 'PID\\s+TTY\\s+STAT\\s+TIME\\s+COMMAND' -e "; + # internet ip myip = "curl ipecho.net/plain";