joshmedeski / sesh

Smart session manager for the terminal
MIT License
578 stars 34 forks source link

Ability to create a session from cwd #25

Closed tanishqmanuja closed 8 months ago

tanishqmanuja commented 8 months ago

It would be awesome if "." is kept as a reserved string and expanded to something like sesh connect $(pwd)

Current Behaviour:

If used with fzf, sesh will jump to an existing dir/session with name starting ".", for example ".config" or ".local" etc etc

Proposed Behaviour:

sesh c . creates a new tmux session with cwd/pwd as the root and attaches to it.

Why reserve "." as an input ?

joshmedeski commented 8 months ago

Great idea, this makes sense to me.