diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-02-16 15:47:37 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-02-16 15:47:37 +1300 |
commit | 403a44dc32533e631384dfcca40d520b9088b0db (patch) | |
tree | a1c0865dd0eea2c80539f27f05ec25d4373043b0 /plugin/redact_pass.vim | |
parent | Merge branch 'hotfix/v2.2.1' (diff) | |
parent | Add path to accommodate macOS' dynamic $TMPDIR (diff) | |
download | vim-redact-pass-master.tar.gz vim-redact-pass-master.zip |
* hotfix/v2.2.2:
Add path to accommodate macOS' dynamic $TMPDIR
Diffstat (limited to 'plugin/redact_pass.vim')
-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 |