|
|
@ -20,12 +20,15 @@ following line to *zpreztorc*: |
|
|
|
|
|
|
|
|
|
|
|
zstyle ':prezto:module:tmux:auto-start' remote 'yes' |
|
|
|
zstyle ':prezto:module:tmux:auto-start' remote 'yes' |
|
|
|
|
|
|
|
|
|
|
|
In both cases, it will create a background session named _#Prezto_ and attach |
|
|
|
In both cases, it will create a background session named _prezto_ if the tmux |
|
|
|
every new shell to it. |
|
|
|
server is not started. |
|
|
|
|
|
|
|
|
|
|
|
To avoid keeping open sessions, this module sets `destroy-unattached off` on |
|
|
|
With `auto-start` enabled, you may want to control how multiple sessions are |
|
|
|
the background session and `destroy-unattached on` on every other session |
|
|
|
managed. The `destroy-unattached` option of tmux controls if the unattached |
|
|
|
(global setting). |
|
|
|
sessions must be kept alive, making sessions available for later use, configured |
|
|
|
|
|
|
|
in *tmux.conf*: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set-option -g destroy-unattached [on | off] |
|
|
|
|
|
|
|
|
|
|
|
Aliases |
|
|
|
Aliases |
|
|
|
------- |
|
|
|
------- |
|
|
@ -41,7 +44,7 @@ connected** to be displayed, which can be fixed by installing |
|
|
|
[reattach-to-user-namespace][3], available in [Homebrew][4], and adding the |
|
|
|
[reattach-to-user-namespace][3], available in [Homebrew][4], and adding the |
|
|
|
following to *tmux.conf*: |
|
|
|
following to *tmux.conf*: |
|
|
|
|
|
|
|
|
|
|
|
set-option -g default-command "reattach-to-user-namespace -l $SHELL -l" |
|
|
|
set-option -g default-command "reattach-to-user-namespace -l $SHELL -l" |
|
|
|
|
|
|
|
|
|
|
|
Furthermore, tmux is known to cause **kernel panics** on Mac OS X. A discussion |
|
|
|
Furthermore, tmux is known to cause **kernel panics** on Mac OS X. A discussion |
|
|
|
about this and Prezto has already been [opened][2]. |
|
|
|
about this and Prezto has already been [opened][2]. |
|
|
@ -54,6 +57,7 @@ Authors |
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu) |
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu) |
|
|
|
- [Colin Hebert](https://github.com/ColinHebert) |
|
|
|
- [Colin Hebert](https://github.com/ColinHebert) |
|
|
|
- [Georges Discry](https://github.com/gdiscry) |
|
|
|
- [Georges Discry](https://github.com/gdiscry) |
|
|
|
|
|
|
|
- [Xavier Cambar](https://github.com/xcambar) |
|
|
|
|
|
|
|
|
|
|
|
[1]: http://tmux.sourceforge.net |
|
|
|
[1]: http://tmux.sourceforge.net |
|
|
|
[2]: https://github.com/sorin-ionescu/prezto/issues/62 |
|
|
|
[2]: https://github.com/sorin-ionescu/prezto/issues/62 |
|
|
|