Skip to content
New issue

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

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

Already on GitHub? # to your account

Change to current directory and exit #76

Closed
orhun opened this issue Oct 11, 2022 · 2 comments
Closed

Change to current directory and exit #76

orhun opened this issue Oct 11, 2022 · 2 comments

Comments

@orhun
Copy link
Contributor

orhun commented Oct 11, 2022

I'm trying out tere and I have this simple use-case. For example:

I want to enter the directory c while viewing the contents of it:

capture

I need to go back (press left arrow key) and press Alt-Enter to cd into it and exit. Is it possible to cd to the currently viewed directory via tere? (Or is there a shell trick that I can use?)

@mgunyho
Copy link
Owner

mgunyho commented Oct 11, 2022

Yes, if you have configured the shell correctly, exiting tere (default shortcut is Esc) will cd to the current folder.

@orhun
Copy link
Contributor Author

orhun commented Oct 12, 2022

Ah, great! Didn't realize that. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants