summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-14 18:25:58 +0200
committerPatrick Simianer <p@simianer.de>2016-04-14 18:25:58 +0200
commit5253bdfde1e153fe3d7326dfe96592a05fded2c0 (patch)
treec6329d3ca8a493affd1978febbe9ca6d34cd5444 /zsh
parent37adb44253bc6645549466d68f3119554da0c98c (diff)
zsh: fix
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc7
1 files changed, 6 insertions, 1 deletions
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) )
+}
+