scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit abc8206c4abc2b5ff18cd5a734fcb0e827957d89
parent 9d081f5957cea1dc997b5d795091839e5767a2a0
Author: cipher <haris@2f30.org>
Date:   Sat,  8 Apr 2017 17:09:38 +0300

FuzzyKill: find-and-kill, fuzzy style

Diffstat:
Afk | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/fk b/fk @@ -0,0 +1,5 @@ +#!/bin/sh + +# FuzzyKill +# Depends on fzf +ps ux | ag "^$(whoami)" | awk '{$1 = ""; $3 = ""; $4 = ""; $5 = ""; $6 = ""; $7 = ""; $8 = ""; $9 = ""; $10 = ""; print $0;}' | fzf | awk '{print $1;}' | xargs kill