On March 9, 2015 12:49:07 AM GMT+01:00, Stuart Henderson <st...@openbsd.org> wrote: >On 2015/03/08 15:06, Philip Guenther wrote: >> On Sun, Mar 8, 2015 at 2:52 PM, Christian Weisgerber ><na...@mips.inka.de> wrote: >> > On 2015-03-08, Stuart Henderson <st...@openbsd.org> wrote: >> > >> >> ! needs to be escaped in tab-completion otherwise this happens. >> >> >> >> $ ls >> >> Season 4 UPDATE!-FFdJhCSr8ng.mp4 >> >> $ ls Season\ 4\ UPDATE!-FFdJhCSr8ng.mp4 >> >> ls: Season 4 UPDATE!4: No such file or directory >> > >> > Huh? >> > >> > $ ls >> > Season 4 UPDATE!-FFdJhCSr8ng.mp4 >> > $ ls Season\ 4\ UPDATE!-FFdJhCSr8ng.mp4 >> > Season 4 UPDATE!-FFdJhCSr8ng.mp4 >> > >> > What am I missing? >> >> sthen apparently has "set -o csh-history" in his profile. > >Ah yes, that's correct, I'd forgotten I'd set this.
Oh, is that what makes me hate bash so much? Either way, in order not to escape stuff overly much, would it make sense to make the ! escaping depend on the csh-history option?