aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--plugin/redact_pass.vim6
2 files changed, 7 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index c043eea..b1b25a5 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.2.1
+2.2.2
diff --git a/plugin/redact_pass.vim b/plugin/redact_pass.vim
index 14705ac..bcb9227 100644
--- a/plugin/redact_pass.vim
+++ b/plugin/redact_pass.vim
@@ -21,4 +21,10 @@ augroup redact_pass
\,$TMPDIR/pass.?*/?*.txt
\,/tmp/pass.?*/?*.txt
\ call redact_pass#()
+ " Work around macOS' dynamic symlink structure for temporary directories
+ if has('mac')
+ autocmd VimEnter
+ \ /private/var/?*/pass.?*/?*.txt
+ \ call redact_pass#()
+ endif
augroup END