X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vimrc;h=0ff6ea1ec534ac8bde907caba3e627d601bb0d86;hb=97cc48c58438a686f0156539ee0908961757f11d;hp=e315350eb6cc3e85d321f99a6aedda7ed793948a;hpb=25be40cec6d307441a371e9a796dc29e87e32cf3;p=dotfiles.git 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