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

anicode('s use of choices) fails on fish 2.5.0 #9

Closed
igalic opened this issue Feb 8, 2017 · 2 comments
Closed

anicode('s use of choices) fails on fish 2.5.0 #9

igalic opened this issue Feb 8, 2017 · 2 comments
Labels

Comments

@igalic
Copy link
Owner

igalic commented Feb 8, 2017

i recently updated to fish 2.5.0, and since then this plugin doesn't work properly anymore:

 ~/s/m/core-plans    rebar3  cd                                                                                                    (1s 578ms)  
 ~  anicode frowning
function: Illegal function name '-S'
~/.config/fish/functions/choices.fish (line 47):   function -S __error_msg
    echo $error | sed "s:%(choices):$choices:"
                                                   ^
in function “choices”
        called on line 58 of file ~/.config/fish/functions/anicode.fish
        with parameter list “☹  WHITE FROWNING FACE 😦  FROWNING FACE WITH OPEN MOUTH 🙁        SLIGHTLY FROWNING FACE 🙍       PERSON FROWNING”

in command substitution
        called on line 56 of file ~/.config/fish/functions/anicode.fish

in function “anicode”
        called on standard input
        with parameter list “frowning”

function: Illegal function name '-S'
~/.config/fish/functions/choices.fish (line 51):   function -S __prompt
    set -l counter 1
                                                   ^
in function “choices”
        called on line 58 of file ~/.config/fish/functions/anicode.fish
        with parameter list “☹  WHITE FROWNING FACE 😦  FROWNING FACE WITH OPEN MOUTH 🙁        SLIGHTLY FROWNING FACE 🙍       PERSON FROWNING”

in command substitution
        called on line 56 of file ~/.config/fish/functions/anicode.fish

in function “anicode”
        called on standard input
        with parameter list “frowning”

__prompt: command not found
~/.config/fish/functions/choices.fish (line 1): __prompt
                                                ^
in command substitution
        called on line 0 of file ~/.config/fish/functions/choices.fish

in function “choices”
        called on line 58 of file ~/.config/fish/functions/anicode.fish
        with parameter list “☹  WHITE FROWNING FACE 😦  FROWNING FACE WITH OPEN MOUTH 🙁        SLIGHTLY FROWNING FACE 🙍       PERSON FROWNING”

in command substitution
        called on line 56 of file ~/.config/fish/functions/anicode.fish

in function “anicode”
        called on standard input
        with parameter list “frowning”

1
Selected ☹, pasted to your clipboard.
 ~ 
@Markcial
Copy link
Collaborator

Markcial commented Feb 10, 2017

I opened the issue on the choices library, thanks for the report.

EDIT: I added the tag wontfix to clarify that is not anicode related, but a bug from the choices library that has to check the fish version

@Markcial
Copy link
Collaborator

Already solved on choices repository Markcial/choices#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants