diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-22 18:50:56 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-22 18:57:31 +1300 |
commit | 5c507d3e27133e3e3e7ad7a6e6d73a0be00c8cd5 (patch) | |
tree | be1dca931ab3be770fe2b571a19af9ab0674161c /vim/bundle | |
parent | Add resolv.conf Vim filetype detection (diff) | |
download | dotfiles-5c507d3e27133e3e3e7ad7a6e6d73a0be00c8cd5.tar.gz dotfiles-5c507d3e27133e3e3e7ad7a6e6d73a0be00c8cd5.zip |
Make more of an effort with sudoedit(8) strips
Handle both kinds of templated temporary files produced by sudoedit(8):
* /var/tmp/foo.XXXXXXXX
* /var/tmp/fooXXXXXXXX.bar
This means that editing /etc/resolv.conf now highlights correctly,
having also in this commit moved the sudo detection to *before* the
.conf fallback.
The hardcoded temporary path for finding the files probably needs to be
either determined at runtime or made configurable by the user.
Diffstat (limited to 'vim/bundle')
0 files changed, 0 insertions, 0 deletions