Skip to content

Don't use perl#68

Open
Sneethe wants to merge 2 commits into
urbainvaes:masterfrom
Sneethe:no-perl
Open

Don't use perl#68
Sneethe wants to merge 2 commits into
urbainvaes:masterfrom
Sneethe:no-perl

Conversation

@Sneethe

@Sneethe Sneethe commented Jul 6, 2025

Copy link
Copy Markdown

Not every Linux or BSD includes perl. And doing this just in ZSH is probably faster anyway.

@akinomyoga akinomyoga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't grep -vxF work?

Comment thread fzf-marks.plugin.zsh Outdated
Comment thread fzf-marks.plugin.zsh Outdated
@Sneethe

Sneethe commented Jul 7, 2025

Copy link
Copy Markdown
Author

Doesn't grep -vxF work?

Yeah thats a lot simpler. I was striving for only using ZSH builtins.

Comment thread conf.d/fzf-marks.plugin.fish Outdated
Comment thread fzf-marks.plugin.zsh Outdated
Comment thread fzf-marks.plugin.zsh
&& echo "** The following mark has been deleted **" \
|| echo "** The following marks have been deleted **"
_fzm_color_marks <<< $marks_to_delete
command grep -vxF "$marks_to_delete" "$bookmarks" > "$bookmarks.tmp"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation.

Comment thread fzf-marks.plugin.zsh Outdated
Use akinomyoga suggestion instead.
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