From 892a3664722e2e56a627940acdb29ecd955e9b53 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Tue, 8 Dec 2015 04:47:48 -0800 Subject: Latest post: Another code correction --- source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md') diff --git a/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md b/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md index 697b824e..d6a1f77b 100644 --- a/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md +++ b/source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md @@ -18,7 +18,7 @@ The wrapper is very easy to write. Here's one implementation for Zsh with suppor ```zsh rm () { setopt localoptions noshwordsplit noksharrays - local args_backup force + local args_backup force node set -A args_backup $@ while :; do case $1 in -- cgit v1.2.1