Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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