Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch the client instead of attaching the session if already in tmux #1

Closed
wants to merge 1 commit into from

Conversation

ornicar
Copy link
Contributor

@ornicar ornicar commented Feb 4, 2011

If $TMUX is set, then I'm already in a session and it's better to switch the client than nesting the new session.

@sharpsaw sharpsaw mentioned this pull request May 9, 2012
akofink referenced this pull request in akofink/tmuxinator Mar 31, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
akofink referenced this pull request in akofink/tmuxinator Mar 31, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
akofink referenced this pull request in akofink/tmuxinator Mar 31, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
akofink referenced this pull request in akofink/tmuxinator May 23, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
akofink referenced this pull request in akofink/tmuxinator May 23, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
akofink referenced this pull request in akofink/tmuxinator May 30, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
akofink referenced this pull request in akofink/tmuxinator May 30, 2024
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/project.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant