Skip to content
Discussion options

You must be logged in to vote

Thank you so much for debugging this! This will be fixed in the next release.

A quick fix is removing any alias that starts with a -

Details on why this was happening:

The issues was when we ran the alias command due to the sort order the first character was -.

The way we get aliases is running a shell command in your dotfiles that loads the commands: cw _ pre-cmd --alias "$(\alias)"

Using clap there is an option to allow arguments to start with a hyphen which was not enabled and thus the command failed: https://docs.rs/clap/latest/clap/struct.Arg.html#method.allow_hyphen_values

Replies: 20 comments 39 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lidora-everc
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@cytharubyscriptonrails
Comment options

@LidorAbo
Comment options

@emewjin
Comment options

@shazaman23
Comment options

@LidorAbo
Comment options

Comment options

You must be logged in to vote
1 reply
@LidorAbo
Comment options

Comment options

You must be logged in to vote
3 replies
@brendanfalk
Comment options

@NoirVoider
Comment options

@omerap12
Comment options

Comment options

You must be logged in to vote
3 replies
@ViaxCo
Comment options

@omerap12
Comment options

@grant0417
Comment options

Comment options

You must be logged in to vote
1 reply
@grant0417
Comment options

Comment options

You must be logged in to vote
1 reply
@grant0417
Comment options

Comment options

You must be logged in to vote
1 reply
@grant0417
Comment options

Comment options

You must be logged in to vote
1 reply
@grant0417
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@NoirVoider
Comment options

Comment options

You must be logged in to vote
2 replies
@snir-israeli
Comment options

@ilanbol
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@ElliottCuvelier
Comment options

@omerap12
Comment options

@ElliottCuvelier
Comment options

@grant0417
Comment options

Answer selected by grant0417
@NoriSte
Comment options

@grant0417
Comment options

@NoriSte
Comment options

@grant0417
Comment options

Comment options

You must be logged in to vote
1 reply
@NoriSte
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment