Skip to content

Commit

Permalink
fix(filter): fix filter parsing when using options
Browse files Browse the repository at this point in the history
  • Loading branch information
gazorby committed Sep 5, 2023
1 parent 9e32cde commit 66d1075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/_enhancd_helper_parse_filter_string.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ function _enhancd_helper_parse_filter_string

while test -n "$str"
for item in (string split ':' $str)
if _enhancd_command_which "$item"
set -l cmd (string split ' ' -- "$item")
if _enhancd_command_which (string trim -- "$cmd[1]")
echo $item
return 0
else
Expand Down

0 comments on commit 66d1075

Please sign in to comment.