Skip to content

Commit

Permalink
Merge pull request #64 from Mikrz/stop_ignoring_environment
Browse files Browse the repository at this point in the history
fix zsh plugin completion ignoring FZF_MARKS_FILE
  • Loading branch information
urbainvaes authored Aug 15, 2024
2 parents 08cc34a + 8e991c0 commit 1adfd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fzf-marks.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ command -v compdef >/dev/null 2>&1 || return
# https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org#user-content-actions
function _fzm {
_arguments -C \
"1: :(($(sed "s/\\(.*\\) : \\(.*\\)/'\1'\\\\:'\2'/" < ~/.fzf-marks)))" \
"1: :(($(sed "s/\\(.*\\) : \\(.*\\)/'\1'\\\\:'\2'/" < "$FZF_MARKS_FILE")))" \
}

compdef _fzm fzm

0 comments on commit 1adfd27

Please sign in to comment.