diff --git a/vimrc b/vimrc index 94dd926..d70b8d0 100644 --- a/vimrc +++ b/vimrc @@ -188,7 +188,7 @@ if has('autocmd') endif " ---- cscope/ctags setup ---- -if has('cscope') && filereadable('/usr/bin/cscope') +if has('cscope') && executable('cscope') == 1 " Search cscope and ctags, in that order set cscopetag set cscopetagorder=0