Commit Graph

25 Commits

Author SHA1 Message Date
mattmc3 da87c79b3a Add zstyle to skip aliases for additional modules 2023-04-13 09:33:48 -07:00
Thomas Blaschke 357ce2ebbf Add exception for PyCharm terminal emulation
Do not autostart tmux if we start a terminal inside PyCharm. Should also work for other JetBrains products.
2022-10-12 16:20:42 -06:00
Robson Roberto Souza Peixoto 9507a0e881 tmux: ignore tmux autostart in vscode terminal (#1718)
In certain situations VSCODE_PID isn't set any more, so we just need to check TERM_PROGRAM which has existed for a few years already.
2019-09-10 09:18:09 -07:00
Roman Peshkov a0977cb92e Ignore tmux autostart in vscode terminal 2018-03-30 17:45:35 -07:00
Manoel Vilela 6d5650eae7 [tmux] Avoid run tmux when the shell is executed on emacs
This avoid weird bugs to try running zsh through C-x M-x
and bug happens because obviously tmux is not designed to be
executed inside emacs.
2017-10-19 23:15:17 -07:00
alan blount 0f3a5f745e Detach from tmux if attached, before attach (#1088)
If you are in a tmux session, and auto-start is enabled
Then you `sudo su` and then `su <username>` it will re-attach, in a loop.
This resolves that problem, by forcing a detach before a (re)attach.
2017-07-11 12:15:24 -07:00
Kaleb Elwert 6975b119b6 Change the zstyle config name for #607 2017-05-02 18:02:28 -07:00
Matt Henkel d02c2951b3 Add the ability to specify tmux session name 2017-05-02 17:57:14 -07:00
Harry Terkelsen 2a33581e80 [Fix #724] Unquote variable
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-15 14:16:00 -05:00
Sorin Ionescu 7a92046c86 Create a new tmux session if none exists 2014-11-13 19:40:41 -05:00
Daniel Kolakowski 00a5639e65 Enable iTerm2 tmux integration
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-12 18:19:58 -05:00
Xavier Cambar ff0dfa424d Create a default tmux session only when none defined in tmux.conf
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-04-03 17:39:46 -04:00
Xavier Cambar 478653fab2 [Fix #543] Do not set tmux destroy-unattached
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-03-07 15:48:49 -05:00
Sorin Ionescu 10cf701864 Simplify multiplexer auto-start tests 2014-02-26 17:19:19 -05:00
Sorin Ionescu 240eecaddf [Fix #551] Rename tmux auto-start session 2014-02-17 23:27:03 -05:00
Sorin Ionescu 415e4bff3d Fix a test operator bug introduced in e5a0e33 2014-02-17 23:09:11 -05:00
Gaelan D'costa e5a0e33f1c [Fix #541] Do not auto-load screen/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.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-02-17 22:43:49 -05:00
Georges Discry 07686fad38 Increase control over multiplexer auto-start
Setting the auto-start 'remote' and 'local' zstyles for the screen and
tmux modules to 'true' automatically starts a session in SSH connections
and in local terminals respectively.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-08-12 18:27:24 -04:00
Colin Hebert 413b717484 Ensure that the tmux server is started
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-06 19:08:31 -04:00
Sorin Ionescu fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu 8baba34fb0 Refactor tmux aliases 2012-08-27 18:32:28 -04:00
Sorin Ionescu 9a52ecb21b Increase heading readability 2012-08-04 14:48:32 -04:00
Sorin Ionescu 060d9064f8 [Fix #202] Load modules all or nothing 2012-08-04 14:32:59 -04:00
Sorin Ionescu d0bc126d01 Move aliases to the bottom 2012-07-03 14:07:17 -04:00
Sorin Ionescu a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00