summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) )
+}
+