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

access first positional argument of initial folder to show #61

Open
metasong opened this issue Sep 6, 2022 · 3 comments
Open

access first positional argument of initial folder to show #61

metasong opened this issue Sep 6, 2022 · 3 comments

Comments

@metasong
Copy link

metasong commented Sep 6, 2022

No description provided.

@mgunyho
Copy link
Owner

mgunyho commented Sep 7, 2022

Hi, do you mean that tere /some/folder would start tere in the path /some/folder?

This would be pretty easy to do, but I think the goal of tere is that it should be faster/more convenient to open tere and then navigate to that folder path inside the app, than to type it out. It should require the same number or less keystrokes, and you get instant visual feedback on the possible options.

Do you have a use case in mind where having the starting path as an argument would be better? Perhaps if /some/folder is the output of some other command, but that feels like quite a contrived example.

@metasong
Copy link
Author

metasong commented Sep 7, 2022

yes, you can have a folder path stored in a env variable, i.e. in pwsh, $env:applicationdata ...., and you know the file is in one of subfolder, you just want to start from there

@metasong
Copy link
Author

metasong commented Sep 7, 2022

also we have already logged the pathes user navigated, we can make full uses of it, to just type part of the folder name and interpret it as the fuzzy search folder name parameter to jumping.

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

No branches or pull requests

2 participants