aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-12-08 04:47:48 -0800
committerZhiming Wang <zmwangx@gmail.com>2015-12-08 04:47:48 -0800
commit892a3664722e2e56a627940acdb29ecd955e9b53 (patch)
tree5a0cbe9929ed72f6c34f4cbe9342924cb9b1d3ab
parent792806fd1f80fb7d777db7325979d62b8c9f90bc (diff)
downloadmy_new_personal_website-892a3664722e2e56a627940acdb29ecd955e9b53.tar.xz
my_new_personal_website-892a3664722e2e56a627940acdb29ecd955e9b53.zip
Latest post: Another code correction
Diffstat (limited to '')
-rw-r--r--source/blog/2015-12-08-safeguarding-git-repos-against-accidental-rm.md2
1 files changed, 1 insertions, 1 deletions
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