Sfoglia il codice sorgente

Fix ctags-exuberant script used by vim.

Emmanuel Bouthenot 13 anni fa
parent
commit
844681d2f0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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