Subject: bug#30724: eshell: escaped tilde is not treated as such

From: Yegor Timoshenko <[email-masked]>
Date: Tue, 6 Mar 2018 04:30:21 +0000

In M-x eshell (do not run):

  $ touch \~
  $ ls
  ~
  $ rm \~
  rm: cannot remove '~': Is a directory

I.e. it tried to remove home directory. I've found this by
accidentially wiping my home directory, but no worry, I've restored a
btrfs snapshot that was made several minutes before that.

GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
 of 2018-02-25