diff options
author | tdro <tdro@users.noreply.github.com> | 2022-04-03 02:33:45 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-04-03 02:33:45 -0400 |
commit | 008f05dbdbcf306b2ef0dbc835a0647256111ddd (patch) | |
tree | 65156c440dd88ded09a9cd7466da875db950bdaa | |
parent | 49a7433cd7b6e4cd434d22cec8730a086906f345 (diff) | |
download | dotfiles-008f05dbdbcf306b2ef0dbc835a0647256111ddd.tar.gz dotfiles-008f05dbdbcf306b2ef0dbc835a0647256111ddd.tar.bz2 dotfiles-008f05dbdbcf306b2ef0dbc835a0647256111ddd.zip |
.vim/vimrc: Dry run make files
-rw-r--r-- | .vim/vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -309,6 +309,7 @@ augroup AutoCommands autocmd BufWritePost quotes,*.fortune exe 'Notify(''strfile ' . expand('%') . ''')' autocmd BufWritePost *.doas exe 'Notify(''doas -C ' . expand('%') . ' 2>&1 && printf "doas OK: ' . expand('%') . '"'')' autocmd BufWritePost Xresources exe 'Notify(''xrdb ~/.config/X11/Xresources ' . '2>&1 && printf "Reloading Xresources: ' . expand('%') . '"'')' + autocmd BufWritePost Makefile exe 'Notify(''make --dry-run --warn-undefined-variables ' . '2>&1 && printf "\nMake OK: ' . expand('%') . '"'')' autocmd BufWritePost *.nft exe 'Notify(''doas nft --check --file ' . expand('%') . ' 2>&1 && printf "nftables OK: ' . expand('%') . '"'')' autocmd BufWritePost *.desktop exe 'Notify(''desktop-file-validate ' . expand('%') . ' 2>&1 && printf "Deskop File OK: ' . expand('%') . '"'')' autocmd BufWritePost *.service exe 'Notify(''systemd-analyze verify --user ' . expand('%') . ' 2>&1 && printf "Systemd Service File OK: ' . expand('%') . '"'')' |