Commit graph

56 commits

Author SHA1 Message Date
张天泽
2c62584b83
fix(tmux): use full offset parameter (#12249) 2024-03-02 09:12:34 +01:00
Carlo Sala
0008534147
fix(tmux): regression with detached sessions
See https://github.com/ohmyzsh/ohmyzsh/pull/12242#issuecomment-1973236605
2024-03-01 16:44:20 +01:00
Jonathan De Troye
65b23a3328
fix(tmux): do not pass empty flags to aliases (#12232)
This enables compatibility with tmux >3.3a

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-02-29 19:05:54 +01:00
Pandu E POLUAN
51bf9fc2de
feat(tmux): prioritize tmux terminfo (#12243)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-02-28 10:52:09 +01:00
Dusk
c891b7e6ad
feat(tmux): add option for detached mode (#12242) 2024-02-27 20:09:02 +01:00
Peat Bakke
104041a018
feat(tmux): add tds alias for directory sessions (#11987) 2023-10-19 11:49:38 +02:00
HeroCC
fea4584ceb
fix(tmux): don't autostart inside background intelliJ (#11927) 2023-10-02 20:34:57 +02:00
n0tr00t
2b1303a728
feat(tmux): allow all standard config files (#11103)
Closes #11803 

Co-authored-by: n0tr00t <106423923+n0tr00teuorg@users.noreply.github.com>
2023-09-03 17:38:32 +02:00
fedor
f4dc8c5be3
fix(tmux): use $...SESSION_NAME while attaching (#10946) 2022-12-08 12:38:13 +01:00
ajr-dev
ad8220bc6d
fix(tmux): use $ZSH_TMUX_CONFIG setting in tmuxconf alias 2022-01-27 21:51:13 +01:00
Billy Mathews
675a2d9922
feat(tmux): add tmuxconf alias to edit .tmux.conf (#6555)
Closes #6555
2022-01-20 16:42:49 +01:00
Marc Cornellà
c06197ad95
chore: fix comment bulk replace 2021-12-28 14:34:09 +01:00
Curtis Rueden
2d32e9be66
refactor: handle $0 according to the Zsh plugin standard (#10518)
For details and rationale, see:
https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html

Closes #10518
2021-12-28 12:29:24 +01:00
Shahin Sorkh
55682e3692
feat(tmux): set session name with ZSH_TMUX_DEFAULT_SESSION_NAME (#9063) 2021-11-08 15:32:09 +01:00
Marc Cornellà
610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
Marc Cornellà
77aa1795d2 Revert "fix: Update tmux plugin to use modern terminfo. (#8582)"
This reverts commit 69caf98cf7.
2020-02-04 19:46:08 +01:00
Dennis Rausch
69caf98cf7
fix: Update tmux plugin to use modern terminfo. (#8582)
* fix: Update tmux plugin to use modern terminfo.

* doc: Update documentation for tmux plugin.
2020-01-31 01:32:53 +01:00
Marc Cornellà
7b73c9ca1c tmux: add ZSH_TMUX_UNICODE to README 2019-11-23 22:14:27 +01:00
Peter Mosmans
be73666f34 tmux: add support for forced unicode support (#5166)
When ZSH_TMUX_UNICODE=true then tmux is informed that UTF-8 is supported.

Closes #5166
2019-11-23 22:12:36 +01:00
Paulo Diovani Gonçalves
0ad988c598 tmux: export ZSH_TMUX_CONFIG again to provide to tmux (#8390) 2019-11-15 16:47:11 +01:00
Yuan-Hao Chen
24d83d1e8c tmux: fix bad tmux config syntax and logical expression error in 86b39cf (#8374) 2019-11-14 13:34:02 +01:00
StelFux
86b39cfa0a tmux: allow to define a custom configuration path (#7606) 2019-11-08 21:44:44 +01:00
Isaac Clayton
ef96a38fa5 Upgrade some URLs to HTTPS (#8202)
* Update http to https in Solarized
* Upgrade http to https for 'Burger In Your Shell'
* Upgrade http to https for tmux.github.io
2019-11-08 15:42:02 +01:00
Marc Cornellà
e780209c33
tmux: use $terminfo to avoid echoti errors
See https://github.com/robbyrussell/oh-my-zsh/issues/7407#issuecomment-441665143
2018-11-26 19:57:52 +01:00
Marc Cornellà
b1424e2893
tmux: use echoti instead of tput for FreeBSD compatibility
Fixes #7407

FreeBSD's tput needs termcap codes instead of terminfo capnames, so using `tput colors`
has the wrong effect. See #7407
2018-11-16 19:40:06 +01:00
Sagar Patil
1abf04cb01 tmux: add README (#7293) 2018-10-17 19:57:34 +02:00
15cm
ff6b4c835b tmux: do not auto-load tmux inside of Emacs/Vim
When Emacs and Vim are launched from outside of an interactive shell,
$TMUX and $STY are not set; check for Emacs and Vim environment
variables instead.
2018-08-18 21:00:43 +02:00
Marc Cornellà
60db5cdb58
tmux: fix invalid syntax on old zsh versions
First reported on f584de5930 (r29984052)
2018-08-09 17:19:40 +02:00
Marc Cornellà
76d3eedf7f tmux: fix regression after f584de5
Fixes #7041
2018-08-07 00:40:18 +02:00
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