X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.vimrc;h=0ff6ea1ec534ac8bde907caba3e627d601bb0d86;hp=e315350eb6cc3e85d321f99a6aedda7ed793948a;hb=904a5914057b2f40c37534072c2c4ae7243e9076;hpb=25be40cec6d307441a371e9a796dc29e87e32cf3 diff --git a/.vimrc b/.vimrc index e315350..0ff6ea1 100644 --- a/.vimrc +++ b/.vimrc @@ -593,9 +593,9 @@ if executable('chmod') autocmd FileChangedShell call _BufChangedCB() let fx = executable(expand("%:p")) if a:x && !fx - !chmod a+x % + silent !chmod a+x % elseif !a:x && fx - !chmod a-x % + silent !chmod a-x % endif if v:shell_error echoerr 'Error running chmod: ' . v:shell_error