Commit graph

39 commits

Author SHA1 Message Date
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
Indrajit Raychaudhuri 1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00
Indrajit Raychaudhuri d80e393f78 general: Reformat documentation with better formatting and wording
General purpose reformating and rewording in (a few places). This should
also make markdown linting happier.

Prefer back-ticks wherever useful and use `console` for code blocks to
be executed on terminal.

Also, update references links wherever possible (including update from
'http://' to 'https://').
2021-05-05 12:21:04 -05: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
Ashish Gandhi b6b43eb331 Rename "Mac OS X" to "macOS" in comments
This only changes references in text for human consumption. It leaves
out renaming paths because that can cause breaking changes.

Related issue https://github.com/sorin-ionescu/prezto/issues/1449.
2018-04-16 15:53:48 -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
Indrajit Raychaudhuri ac628c9059 [general] Switch code block formatting to use fence formatting
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
2017-07-22 13:11:29 -05: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
Luiz Gonzaga dos Santos Filho 09b333eb41 Fix README example on tmux's default session name 2017-07-03 17:44:14 -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
Alex Wolkov e9f86bf4db Update the link to iTerm2 and tmux integration
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2015-05-03 13:44:40 -04: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
Sorin Ionescu a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04: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
Colin Hebert a67a4fdf91 Fix URLs in tmux documentation
Use full URLs instead of relative urls.

Fix link about kernel issues with tmux on Mac OS X.
2012-09-12 11:48:44 -04:00
Sorin Ionescu cc7e43b242 [Fix #253] Move Prezto settings into their own file 2012-09-03 16:52:47 -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 027edbaae5 Correct title casing in screen and tmux READMEs 2012-06-14 18:01:01 -04:00
Sorin Ionescu 859ab4e8e0 Correct spelling mistakes in READMEs 2012-06-12 15:13:21 -04:00
Sorin Ionescu 8e91f01d55 Move settings right bellow module description 2012-06-10 20:05:34 -04:00
Sorin Ionescu b2b90c22f8 Improve diction in documentation 2012-06-02 17:17:12 -04:00
Sorin Ionescu 075f516763 Clean up READMEs 2012-05-21 20:34:07 -04:00
Colin Hebert ccccfb2c8c [Fix #139] Document a startup error in tmux module 2012-04-13 09:38:45 -04:00
Sorin Ionescu a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00