dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 62d3be911b1edee1bed41f99d433a0bfe04248ca
parent 635b8d4e03e60184226b3a33dff6f029d9b729d6
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Thu,  8 Jul 2021 23:46:45 +0300

aliases: Remove old aliases, add p for ps grepping

Diffstat:
.aliases | 14+++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/.aliases b/.aliases @@ -88,10 +88,6 @@ iptvs(){ alias alsamixer="alsamixer -c 0" -cse() { - grep -ir $1 ~/.mcabber/histo/ | sed -e 's/.*000 //' -} - # Unlock remote luks machines unluks() { read -s LUKSPASS @@ -110,4 +106,12 @@ zlibtogz(){ printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - $@ } -alias s="w3m https://google.com" +alias treed="tree -d" + +p() { + if [[ $(uname) == OpenBSD ]] then + ps aux | grep $1 + else + ps -fe | grep $1 + fi +}