summaryrefslogtreecommitdiff
path: root/plugins/tmuxinator
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tmuxinator')
-rw-r--r--plugins/tmuxinator/README.md12
-rw-r--r--plugins/tmuxinator/_tmuxinator6
2 files changed, 10 insertions, 8 deletions
diff --git a/plugins/tmuxinator/README.md b/plugins/tmuxinator/README.md
index 994d8d46d..8709204a0 100644
--- a/plugins/tmuxinator/README.md
+++ b/plugins/tmuxinator/README.md
@@ -11,9 +11,9 @@ plugins=(... tmuxinator)
## Aliases
-| Alias | Command | Description |
-| ------ | ---------------- | ------------------------ |
-| `txs ` | tmuxinator start | Start Tmuxinator |
-| `txo ` | tmuxinator open | Open project for editing |
-| `txn ` | tmuxinator new | Create project |
-| `txl ` | tmuxinator list | List projects |
+| Alias | Command | Description |
+| ----- | ---------------- | ------------------------ |
+| `txs` | tmuxinator start | Start Tmuxinator |
+| `txo` | tmuxinator open | Open project for editing |
+| `txn` | tmuxinator new | Create project |
+| `txl` | tmuxinator list | List projects |
diff --git a/plugins/tmuxinator/_tmuxinator b/plugins/tmuxinator/_tmuxinator
index 37032f8d8..9ae25ac38 100644
--- a/plugins/tmuxinator/_tmuxinator
+++ b/plugins/tmuxinator/_tmuxinator
@@ -1,3 +1,6 @@
+#compdef tmuxinator mux
+#autoload
+
_tmuxinator() {
local commands projects
commands=(${(f)"$(tmuxinator commands zsh)"})
@@ -17,5 +20,4 @@ _tmuxinator() {
return
}
-compdef _tmuxinator tmuxinator mux
-alias mux="tmuxinator"
+compdef _tmuxinator tmuxinator