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

fix: don't create empty extra command files #362

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

cameronr
Copy link
Collaborator

@cameronr cameronr commented Aug 27, 2024

Noticed that it was creating empty extra command files after my changes due to an empty table vs nil mistake. Only place that uses the return is in save_extra_cmds_new and it relies on the return being nil when there are no commands.

Also made picker sort by modified as the default rather than leaving it up to whatever the underlying command decided it should sort by (or no sort at all). Having a consistent, reasonable default seems better.

Also, removing fd and fdfind as we just need a simple directory listing.
Keeping ripgrep because having one command that's consistent cross
platform is nice.
@cameronr cameronr merged commit 1568952 into rmagatti:main Aug 27, 2024
7 checks passed
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.

2 participants