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

Ability to create a session from cwd #25

Closed
tanishqmanuja opened this issue Jan 18, 2024 · 1 comment
Closed

Ability to create a session from cwd #25

tanishqmanuja opened this issue Jan 18, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tanishqmanuja
Copy link
Contributor

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 ?

  • One letter fuzzy finds are inherently not accurate anyways. So i wouldn't mind writing .conf or .c at minimum if i want to attach a session at .config.
  • It is common for programs to work like that for example if i want to open vim at cwd, i would do vim . or simply vim
@joshmedeski joshmedeski added enhancement New feature or request good first issue Good for newcomers labels Jan 18, 2024
@joshmedeski
Copy link
Owner

Great idea, this makes sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

2 participants