dot

packages and services management
Log | Files | Refs | README

commit 7407b637d2c255934430a24d0dc844525d19b159
parent d01eea418391e106e70bf072c457b44ab0454ff5
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Wed, 17 May 2017 09:52:15 +0200

io-ps

Diffstat:
M.profile | 3++-
Abin/io-ps | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.profile b/.profile @@ -101,10 +101,11 @@ alias la='ls -lpA' alias cl='printf "\033[H\033[2J"' # iomenu -alias j='fg "%$(jobs | iomenu | sed -r "s/.([0-9]*).*/\1/")"' +alias j='fg "%`jobs | iomenu | sed -r "s/.([0-9]*).*/\1/"`"' alias f='find . ! -path "*/.git/*" -type f | iomenu -p file' alias d='find . ! -path "*/.git/*" -type d | iomenu -p directory' alias c='cd "$(find "$HOME" -type d | sort | iomenu -p cd)"' +alias p='p=`io-ps`' # utilities alias inv='printf "\033[?5%s" h' diff --git a/bin/io-ps b/bin/io-ps @@ -0,0 +1 @@ +ps -Af | sed '1 s/./#/' | iomenu -p ps -s | sed -r 's/^[^ ]* *([0-9]*).*/\1/'