From efeda4dacc3c005235d21208521511f686576f19 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 7 Jul 2014 14:57:33 +0200 Subject: tmux completion --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zshrc b/.zshrc index 33bbe6f..afa2d8a 100644 --- a/.zshrc +++ b/.zshrc @@ -174,3 +174,9 @@ bindkey '^R' history-incremental-search-backward bindkey '^A' vi-beginning-of-line bindkey '^E' vi-end-of-line +tln() { + reply=( $(tmux list-sessions | cut -d: -f1) ) +} + +compctl -K tln muxa + -- cgit v1.2.3