diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/redact_pass.vim | 6 |
1 files changed, 6 insertions, 0 deletions
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 |