Add execute permission on scripts

This commit is contained in:
gardouille 2023-04-28 14:48:14 +02:00
parent 11ecf1c17c
commit 63af38d223
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 7 additions and 4 deletions

11
vimrc
View File

@ -283,10 +283,10 @@ let g:syntastic_yaml_checkers = ['yamllint']
"Plug "Shougo/neocomplcache"
" Use neocomplcache.
let g:neocomplcache_enable_at_startup = 1
" Set minimum syntax keyword length.
let g:neocomplcache_min_syntax_length = 3
let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*'
"let g:neocomplcache_enable_at_startup = 1
"" Set minimum syntax keyword length.
"let g:neocomplcache_min_syntax_length = 3
"let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*'
"##########################
@ -932,6 +932,9 @@ function! ModeChange()
if getline(1) =~ "/bin/"
silent !chmod a+x <afile>
endif
if getline(1) =~ "/usr/bin/"
silent !chmod a+x <afile>
endif
endif
endfunction