From 5253bdfde1e153fe3d7326dfe96592a05fded2c0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 14 Apr 2016 18:25:58 +0200 Subject: zsh: fix --- zsh/.zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index a691bf2..30b07ab 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -236,8 +236,13 @@ irb () fi } -lsof_kill() +lsof_kill () { lsof $1 | grep -v COMMAND | cut -d " " -f 2- | strips | cut -d " " -f 1 | xargs kill } +tln () +{ + reply=( $(tmux list-sessions | cut -d: -f1) ) +} + -- cgit v1.2.3