Commit Graph

25 Commits

Author SHA1 Message Date
Vladislav Buinovski
db826a8fdb feat: Add completion support for 'stop' command in tmuxinator (#975)
Enhance tmuxinator command completions by adding support for the 'stop' command in both Fish and Zsh completion scripts, improving user experience and command discoverability.
2026-03-13 19:05:03 -04:00
Drew Daniels
fe37bf0046 fix: Fix fish-shell completions (857) (#956)
Some checks failed
Integration Tests / test (3.1.6, 1.5) (push) Failing after 1s
Integration Tests / test (3.1.6, 1.7) (push) Failing after 1s
Integration Tests / test (3.1.6, 1.8) (push) Failing after 1s
Integration Tests / test (3.1.6, 1.6) (push) Failing after 1s
Integration Tests / test (3.1.6, 1.9) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.0) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.1) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.2) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.3) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.4) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.5) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.6) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.7) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.8) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.9) (push) Failing after 1s
Integration Tests / test (3.1.6, 2.9a) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.0) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.0a) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.1) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.1a) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.1b) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.1c) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.2) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.2a) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.3) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.3a) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.4) (push) Failing after 1s
Integration Tests / test (3.1.6, 3.5) (push) Failing after 2s
Integration Tests / test (3.1.6, 3.5a) (push) Failing after 1s
Integration Tests / test (3.2.7, 1.5) (push) Failing after 1s
Integration Tests / test (3.2.7, 1.6) (push) Failing after 1s
Integration Tests / test (3.2.7, 1.7) (push) Failing after 1s
Integration Tests / test (3.2.7, 1.8) (push) Failing after 1s
Integration Tests / test (3.2.7, 1.9) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.0) (push) Failing after 0s
Integration Tests / test (3.2.7, 2.1) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.2) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.3) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.4) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.5) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.6) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.7) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.8) (push) Failing after 1s
Integration Tests / test (3.2.7, 2.9) (push) Failing after 0s
Integration Tests / test (3.2.7, 2.9a) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.0) (push) Failing after 2s
Integration Tests / test (3.2.7, 3.0a) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.1) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.1a) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.1b) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.1c) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.2) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.2a) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.3) (push) Failing after 0s
Integration Tests / test (3.2.7, 3.3a) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.4) (push) Failing after 2s
Integration Tests / test (3.2.7, 3.5) (push) Failing after 1s
Integration Tests / test (3.2.7, 3.5a) (push) Failing after 1s
Integration Tests / test (3.3.7, 1.5) (push) Failing after 1s
Integration Tests / test (3.3.7, 1.6) (push) Failing after 2s
Integration Tests / test (3.3.7, 1.7) (push) Failing after 1s
Integration Tests / test (3.3.7, 1.8) (push) Failing after 0s
Integration Tests / test (3.3.7, 1.9) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.0) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.1) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.2) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.3) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.4) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.5) (push) Failing after 2s
Integration Tests / test (3.3.7, 2.6) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.7) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.8) (push) Failing after 1s
Integration Tests / test (3.3.7, 2.9) (push) Failing after 2s
Integration Tests / test (3.3.7, 2.9a) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.0) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.0a) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.1) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.1a) (push) Failing after 2s
Integration Tests / test (3.3.7, 3.1b) (push) Failing after 2s
Integration Tests / test (3.3.7, 3.1c) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.2) (push) Failing after 2s
Integration Tests / test (3.3.7, 3.2a) (push) Failing after 2s
Integration Tests / test (3.3.7, 3.3) (push) Failing after 2s
Integration Tests / test (3.3.7, 3.4) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.3a) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.5) (push) Failing after 1s
Integration Tests / test (3.3.7, 3.5a) (push) Failing after 1s
Integration Tests / test (3.4.2, 1.5) (push) Failing after 2s
Integration Tests / test (3.4.2, 1.6) (push) Failing after 1s
Integration Tests / test (3.4.2, 1.7) (push) Failing after 0s
Integration Tests / test (3.4.2, 1.8) (push) Failing after 1s
Integration Tests / test (3.4.2, 1.9) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.0) (push) Failing after 2s
Integration Tests / test (3.4.2, 2.1) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.2) (push) Failing after 0s
Integration Tests / test (3.4.2, 2.3) (push) Failing after 2s
Integration Tests / test (3.4.2, 2.4) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.5) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.6) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.7) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.8) (push) Failing after 1s
Integration Tests / test (3.4.2, 2.9) (push) Failing after 2s
Integration Tests / test (3.4.2, 2.9a) (push) Failing after 0s
Integration Tests / test (3.4.2, 3.0) (push) Failing after 0s
Integration Tests / test (3.4.2, 3.0a) (push) Failing after 1s
Integration Tests / test (3.4.2, 3.1) (push) Failing after 0s
Integration Tests / test (3.4.2, 3.1a) (push) Failing after 2s
Integration Tests / test (3.4.2, 3.1b) (push) Failing after 1s
Integration Tests / test (3.4.2, 3.1c) (push) Failing after 1s
Integration Tests / test (3.4.2, 3.2) (push) Failing after 2s
Integration Tests / test (3.4.2, 3.2a) (push) Failing after 0s
Integration Tests / test (3.4.2, 3.3) (push) Failing after 2s
Integration Tests / test (3.4.2, 3.3a) (push) Failing after 1s
Integration Tests / test (3.4.2, 3.4) (push) Failing after 1s
Integration Tests / test (3.4.2, 3.5) (push) Failing after 2s
Integration Tests / test (3.4.2, 3.5a) (push) Failing after 1s
Integration Tests / finish (push) Failing after 2s
Fixes an issue where tabbing through `tmuxinator` commands when using
`fish` clobbers the terminal output. Also adds `fish-shell` completions for the
`edit` and `debug` commands.
2025-06-16 22:21:08 -04:00
Andrew Kofink
25c2134f7d Remove mux alias in Bash completion file (#906)
Co-authored-by: Edwin Kofler <edwin@kofler.dev>
2024-03-30 17:59:34 -04:00
a1346054
c2afba0797 Simple maintenance improvements (#838)
* Remove hashbang from shell completion file

Shell completion files are sourced, not executed.

* Trim excess whitespace

* Fix typos

* chore: Update the CHANGELOG

---------

Co-authored-by: Andrew Kofink <ajkofink@gmail.com>
2024-02-02 21:07:15 -05:00
Doron Behar
2a4bad3add Fix completion related issues (#737)
* Fix completion related issues

* Remove unused 'mux' alias fish completion file
2019-12-25 23:13:00 -05:00
Rémy Oudemans
07f6f5dcf3 add zshell completions for command aliases (#717)
Up until now, in zsh you had to type out the full command
(like "tmuxinator start") for tab completions to work.
This makes it work for aliases too (like "tmuxinator s").
2019-09-27 21:25:54 -04:00
ZeroKnight
573fcad30d Fix/improve zsh completion
Fixes garbage output in completion with certain completion settings and
when there are no projects available.
2018-06-19 20:39:16 -07:00
ncoop
7e7711f4c6 Completion scripts do not need execute perm. 2016-08-10 23:07:40 -07:00
ncoop
2224c67ec8 Alias mux to tmuxinator; Remove mux symlink.
Use abbr for fish.
2016-08-10 23:07:40 -07:00
Weiyi Lou
862239cb17 Improve bash/zsh completion-setup flexibility
By removing the `tmuxinator`-existence checks and by employing the
correct completion definition functions, `tmuxinator.bash` and
`tmuxinator.zsh` can be sourced more flexibly, without running into
errors caused by not-yet-initialised `rvm` installations.

For `zsh`:

Previously, the first `#compdef` line was inserted to allow
`tmuxinator.zsh` to be used within `zsh`'s completion autoloading.
However, since it seems preferable to install `tmuxinator` completion by
directly sourcing files, this autoload-related definition is no longer
necessary, and an explicit `compdef` takes its place.
2016-04-13 10:45:19 +10:00
Laurence Willetts
ec2d000e4d Completions: test if tmuxinator is actually on $PATH 2016-03-24 19:54:57 +00:00
Christopher Chow
bdd45efdfa Revert "Can a project name be the first arg?"
This reverts commit 9b29cd0dfd.
2015-06-06 21:47:36 +10:00
David Rodríguez
c8d3650df1 Follow shellcheck.net advice
"SC2155: Declare and assign separately to avoid masking return values."
2015-05-18 19:12:29 -03:00
David Rodríguez
256b761448 Fix completion error
```shell
ERROR: "tmuxinator completions" was called with arguments ["start",
"sampleproject"]. Usage: "tmuxinator completions [arg1 arg2]"
```
2015-05-18 19:11:00 -03:00
David Rodríguez
9b29cd0dfd Can a project name be the first arg? 2015-05-18 19:08:15 -03:00
Roman Inflianskas
e9f2adce61 Fish completions: add mux.fish symlink 2015-01-06 14:23:50 +03:00
Roman Inflianskas
ab76375d2b Fish completions: work with mux alias (and others), proper subcommands handling 2015-01-06 14:21:01 +03:00
Tobias Witt
fba8f7b8e3 Show projects when no command is given yet
...since tmuxinator supports it.
2015-01-04 14:21:31 +01:00
Christopher Chow
0b2cf3bae8 [#262] Fix completions for zsh
The old completions used compctl. Switch to use modern compdef instead.
2014-12-01 23:07:18 +11:00
Nathan Kot
09f32b2111 Completions for fish shell. 2013-12-22 17:00:26 +13:00
Tim Pote
01c76ed019 Fix bash completion with single arg.
Previously the script was assuming that a single arg meant that a mux
command must be next.  However, mux now supports calling just
'mux projet-name', meaning the bash completion script should do the
same.
2013-08-20 20:52:52 -05:00
Christopher Chow
926ebfa697 Fix an error in the bash complete function call. 2013-08-06 20:53:58 +10:00
Christopher Chow
babbdca3ab Revert moving the completion scripts to bin.
rbenv adds a shim to all Ruby executables which breaks the completion
scripts.

Revert "Add the slow completion scripts back to bin."

This reverts commit f94c56446c.
2013-08-06 20:52:07 +10:00
Christopher Chow
f94c56446c Add the slow completion scripts back to bin. 2013-08-06 20:44:51 +10:00
Christopher Chow
d78c813b28 Refactor shell completion. 2013-06-08 02:54:05 +10:00