From 15909a086cdffae6aa52074ec67a9af4be65885f Mon Sep 17 00:00:00 2001 From: Martinez Date: Sat, 20 Feb 2016 17:08:27 +0100 Subject: [PATCH] add kill_screens to zshrc --- dotfiles/system/etc/zsh/zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/system/etc/zsh/zshrc b/dotfiles/system/etc/zsh/zshrc index 33be129..548a5cd 100644 --- a/dotfiles/system/etc/zsh/zshrc +++ b/dotfiles/system/etc/zsh/zshrc @@ -66,6 +66,15 @@ zres () { hash -r } +# kill GNU Screen pages in the specified range +kill_screens () { + for p in {$1..$2} + do + screen -p $p -X stuff "exit\n" + done +} + + # winetricks tools wt-prefix() { export WINEPREFIX="$HOME/.local/share/wineprefixes/$1"