Marc Cornellà
f584de5930
tmux: refactor and simplify tmux function logic
2018-08-03 22:13:48 +02:00
Andrew Janke
19716a8e3d
tmux: refactor
...
- Consolidates the switch-adding logic for readability.
- Replaces "[[ ... ]] && ..." with "if [[ ... ]]; then ..." in some
cases to avoid a spurious nonzero exit status from _zsh_tmux_plugin_run.
- Puts error message on stderr instead of stdout
2018-08-03 22:09:06 +02:00
Andrew Janke
f33691fbb6
tmux: detabify source code
...
Also changes the tmux detection test to do an early exit if tmux is absent,
to reduce the indentation level of the main body of code.
2018-08-03 21:21:42 +02:00
Daniel Grove
906a7731af
Add tmux attach -d alias ( #5285 )
2016-08-12 20:50:09 -07:00
Peter Butkovic
eb0549750f
additional tmux aliases
2014-09-16 10:35:43 +02:00
Kevin Traver
d01ca03635
Add tmux aliases
2013-10-23 23:17:43 -07:00
fff
849c80b02d
fixed typo in tmux plugin
2013-07-15 09:25:18 +08:00
Matei Trusca
9cec52c449
fixed typo in tmux plugin
2013-07-02 11:29:25 +03:00
Andrew Schwartzmeyer
55f7990607
Not loading home tmux confs when iTerm2 tmux integration is enabled
2013-06-22 18:20:11 -07:00
Andrew Schwartzmeyer
bc65443734
Adding support for iTerm2 tmux integration via option '-CC'
2013-06-22 18:20:11 -07:00
Josh Matthews
19ae0b576c
Exporting path to fixed config as a global variable.
...
This is done to fix compatibility with antigen.
To keep with convention, the variable has been renamed to be in all caps.
2013-03-26 19:42:05 +00:00
Josh Matthews
a91872df35
Prefixing tmux wrapper function with '_'.
2013-03-26 19:41:34 +00:00
Josh Matthews
f0a920df5a
Checking to make sure tmux is actually installed before running plugin.
...
If it is not found an error message is printed.
2013-02-27 10:21:19 -05:00
Josh Matthews
4e8681c6e1
Adding options to choose tmux TERM for 256 and non-256 color terminals.
...
This may be needed on systems that don't have the proper terminfo for
screen and/or screen-256color. Otherwise the defaults of screen and
screen-256color should be fine.
2013-02-26 23:37:53 -05:00
Josh Matthews
86c9b32031
Adding compdef to maintain tmux completions.
2013-02-26 22:57:37 -05:00
Josh Matthews
56c46c4ed8
Fixing typo in alias.
2013-02-26 22:55:18 -05:00
Josh Matthews
691630a895
Adding option to prevent autostarting tmux more than once in the same session.
2013-02-26 22:29:26 -05:00
Josh Matthews
f096644c75
Checking if already in tmux before autostarting in tmux in tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
43c50f03e3
Checking environment instead of local variable for fixing term in tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
7b15627851
Fixing typos, logic, and gremlins in tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
bf40d4e354
Adding helper tmux config files to tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
45a4db33f8
Enabling autostart of tmux in tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
0cf871d512
Adding comments to tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
778ae57772
Tmux plugin now just runs tmux if any extra args are given.
2013-02-26 22:29:26 -05:00
Josh Matthews
3aef6793c2
Now checking for 256 color terminal in tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
26ee66f179
Adding main function and alias to tmux plugin.
2013-02-26 22:29:26 -05:00
Josh Matthews
b979400cff
Starting tmux plugin with basic config variables.
2013-02-26 22:29:26 -05:00