summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-07 14:57:33 +0200
committerPatrick Simianer <p@simianer.de>2014-07-07 14:57:33 +0200
commitefeda4dacc3c005235d21208521511f686576f19 (patch)
tree1d7ba6a86f607d946c993bdb4e9da5fe83f280c6
parentf452e71b4741070885313cbf580d45235b6f423d (diff)
tmux completion
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
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
+