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

Use completer.FilePathCompleter #25

Merged
merged 1 commit into from
Jun 24, 2018
Merged

Use completer.FilePathCompleter #25

merged 1 commit into from
Jun 24, 2018

Conversation

c-bata
Copy link
Owner

@c-bata c-bata commented Jun 24, 2018

go-prompt provides option to customize insertion points for completer at c-bata/go-prompt#79. By using it, file path completion will be better such like below:

Before
2018-06-24 18 16 47

After

2018-06-24 18 16 31

In POSIX environment, FilePathCompleter properly treats ~ as user home directory. And this also supports expanding env like $HOME .

@c-bata c-bata merged commit 330c5d1 into master Jun 24, 2018
@c-bata c-bata deleted the file-completer branch June 24, 2018 09:28
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

Successfully merging this pull request may close these issues.

None yet

1 participant