You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The multiple option uses $1 instead of a fixed path for the completion program. When trying to complete for a program in the home directory using a path starting with ~/, the program path is interpreted as containing a literal tilde character, instead of expanding to $HOME.
This:
RESULT="$($1 _completion)";
resolves to effectively:
RESULT="$('~/bin/beam' _completion)";
which results in an error:
$ ~/bin/beam [tab]
-bash: ~/bin/beam: No such file or directory
instead of the expected behaviour:
RESULT="$("$HOME/bin/beam" _completion)";
Once this is resolved, multiple could be on by default too I think.
Tested using Bash 4.3 and 3.2.on OSX.
The text was updated successfully, but these errors were encountered:
The
multiple
option uses$1
instead of a fixed path for the completion program. When trying to complete for a program in the home directory using a path starting with~/
, the program path is interpreted as containing a literal tilde character, instead of expanding to$HOME
.This:
resolves to effectively:
which results in an error:
instead of the expected behaviour:
Once this is resolved, multiple could be on by default too I think.
Tested using Bash 4.3 and 3.2.on OSX.
The text was updated successfully, but these errors were encountered: