mgunyho / tere

Terminal file explorer
European Union Public License 1.2
1.67k stars 36 forks source link

Change to current directory and exit #76

Closed orhun closed 1 year ago

orhun commented 1 year ago

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 commented 1 year ago

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

orhun commented 1 year ago

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