Attach to tmux session w/ current directory name #84

Merged
merged 1 commit into from Jan 11, 2013

Conversation

Projects
None yet
2 participants
Owner

croaky commented Jan 9, 2013

I've been experimenting with a workflow where I only run long-running
processes in tmux. Examples:

zeus start
foreman start
rake (if the full suite takes a long time)

tmux (or screen) are good at that: maintaining a long-running process
across shell sessions.

Instead of opening another tmux pane for vim and another for git
commands, Rails generators, test runs, etc., I do all of that outside of
tmux in my normal shell window. Those are all targeted, quick, actions.
They are what I am doing right now. It's my workspace.

While experimenting with this process, I noticed, I do jump into tmux
more often. Therefore, I wanted a shorter command for attaching to the
tmux session with the same name as the current directory.

@croaky croaky Attach to tmux session w/ current directory name
I've been experimenting with a workflow where I only run long-running
processes in tmux. Examples:

    zeus start
    foreman start
    rake

tmux (or screen) are good at that: maintaining a long-running process
across shell sessions.

Instead of opening another tmux pane for vim and another for git
commands, Rails generators, test runs, etc., I do all of that outside of
tmux in my normal shell window. Those are all targeted, quick, actions.
They are what I am doing *right now*. It's my workspace.

While experimenting with this process, I noticed, I do jump into tmux
more often. Therefore, I wanted a shorter command for attaching to the
tmux session with the same name as the current directory.
df3dd51
Owner

jferris commented Jan 11, 2013

Sweet tat, bro.

...this looks good to me.

croaky merged commit df3dd51 into thoughtbot:master Jan 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment