|
Re: [PATCH] new shopt `colonbreakswords' for bash 3.0: msg#00230shells.bash.bugs
Chet Ramey wrote: While the current behavior of filename completion (treating Uhm yes, sorry, COMP_WORDBREAKS does indeed what I want. The only thing my patch does differently is that the colon is removed from rl_filename_quote_characters, which has the effect that mkdir d; cd d touch a,v a::b,v ls a,<TAB> a:<TAB> results in ls a,v a::b,v while when only setting COMP_WORDBREAKS the result is ls a,v a::b\,v because the colon will trigger rl_filename_quoting_function, which in turn quotes the comma. But I guess this isn't worth the effort. Anyway, since many people seem to have problems with the default behaviour of quoting colons in completion, I wonder if COMP_WORDBREAKS=${COMP_WORDBREAKS//:} will make a good FAQ entry? -Oliver |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Дебиторская задолженность г: 00230, Служба контроля |
|---|---|
| Next by Date: | Get discount drugs without prescription: 00230, Shawn Irvin |
| Previous by Thread: | Re: [PATCH] new shopt `colonbreakswords' for bash 3.0i: 00230, Chet Ramey |
| Next by Thread: | Re: [PATCH] new shopt `colonbreakswords' for bash 3.0: 00230, Chet Ramey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |