Qestion: Is there a way to make eshell/rm (especially) either display a completion buffer even for few files or remove the . and .. entries for eshell/rm.
Background (and some ranting):
So I learned the hard way that in
eshell/rm tab completes differently.
While eshell/ls has the behavior I expect(sortof) eshell/rm has a rater "disturbing" querk...
lets say you have
You go to
$ ls ~/Download/this_dir/ and tab complete
ls will complete to the file.
However, if you do the same with
rm it will cycle through the following outputs
$ rm ~/Download/this_dir/somefile.txt $ rm ~/Download/this_dir/./ $ rm ~/Download/this_dir/../
notice the last entry points to the parent directory (ouch). I (may be to my own fault) if I expect only one file in this directory press tab a number of times just to make sure I am at the top which made me cycle to the parent directory entry, which is hard to see if the filepath/name is long and hit enter.
I realized that the TAB key is bound to pcomplete which is discussed here but I haven't found the exact thing to help me.