1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00

34466: Fix double unmeta in rm verification

This commit is contained in:
Mikael Magnusson 2015-02-08 06:44:02 +01:00
parent 7d15b9a9cb
commit dfbb5e4853
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2015-02-09 Mikael Magnusson <mikachu@gmail.com>
* 34466: Src/utils.c: Fix double unmeta in rm verification
2015-02-08 Daniel Hahler <git@thequod.de>
* 34469: Completion/Unix/Command/_git: git completion: add "stash"

View file

@ -2460,7 +2460,7 @@ checkrmall(char *s)
return 1;
fprintf(shout, "zsh: sure you want to delete all the files in ");
if (*s != '/') {
nicezputs(pwd[1] ? unmeta(pwd) : "", shout);
nicezputs(pwd[1] ? pwd : "", shout);
fputc('/', shout);
}
nicezputs(s, shout);