Browse Source

Fix ctags-exuberant script used by vim.

Emmanuel Bouthenot 13 years ago
parent
commit
844681d2f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .vim/bin/ctags-exuberant

+ 1 - 1
.vim/bin/ctags-exuberant

@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if which ctags-exuberant &>/dev/null; then
+if which ctags-exuberant >/dev/null 2>&1 ; then
     if echo $@|grep -- "--language-force=php" >/dev/null 2>&1 ; then
         ctags-exuberant $(echo $@ | sed 's/--language-force=php//' | sed 's/--php-types=[^ ]*//')
     else