carapace icon indicating copy to clipboard operation
carapace copied to clipboard

compadd escapes tilde

Open rsteube opened this issue 3 years ago • 1 comments

compadd adds \ to tilde which breaks path completion

example action --files ~/<TAB>
# example action --files \~/

Either expand ~ to home dir or prevent compadd from escaping it when it is the first character.

rsteube avatar Jun 16 '21 12:06 rsteube

best to disable escaping in compadd and just quote from within carapace

rsteube avatar Sep 29 '21 09:09 rsteube