From 131744424a48408010bb2edaf01ea6f17f68bbf8 Mon Sep 17 00:00:00 2001 From: Martinez Date: Fri, 26 Aug 2016 11:14:03 +0200 Subject: [PATCH] fix pskill --- dotfiles/system/etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/system/etc/zsh/zshrc b/dotfiles/system/etc/zsh/zshrc index 305f853..abe45df 100644 --- a/dotfiles/system/etc/zsh/zshrc +++ b/dotfiles/system/etc/zsh/zshrc @@ -52,7 +52,7 @@ mkv-fixtitles () { psg () { ps axu | grep -v grep | grep -i $* } # hledání v běžících procesech pskill () { - pids=($(psg $1|awk '{print $1}')) + pids=($(psg $1|awk '{print $2}')) for pid in $pids; do echo "Killing $pid..."