From 098e3ff3687f8de9478a5e8fffe6e0e10ca47a0f Mon Sep 17 00:00:00 2001 From: Jason Verbeek Date: Wed, 12 Feb 2020 06:46:00 +0100 Subject: [PATCH] plugins/bashmark: resolves conflict between noclobber and bashmark (#127) Fixes #50 --- plugins/bashmarks/bashmarks.plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bashmarks/bashmarks.plugin.sh b/plugins/bashmarks/bashmarks.plugin.sh index e53fc6f..dbf4dc2 100644 --- a/plugins/bashmarks/bashmarks.plugin.sh +++ b/plugins/bashmarks/bashmarks.plugin.sh @@ -186,7 +186,7 @@ function _purge_line { trap "/bin/rm -f -- '$t'" EXIT # purge line - sed "/$2/d" "$1" > "$t" + sed "/$2/d" "$1" >| "$t" /bin/mv "$t" "$1" # cleanup temp file