Code

Fix a few typos in the bash completion
authorJonas Fonseca <fonseca@diku.dk>
Sat, 23 Jun 2007 09:33:45 +0000 (11:33 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Sat, 23 Jun 2007 09:33:45 +0000 (11:33 +0200)
contrib/tig-completion.sh

index dc6acf6cd5aa32b7f001d78b432218f74b0722b7..3b6fd6dd2339a5f46ea8db8734e86180bf8c9bce 100755 (executable)
@@ -217,11 +217,11 @@ _tig ()
        if [ $c -eq $COMP_CWORD -a -z "$command" ]; then
                case "${COMP_WORDS[COMP_CWORD]}" in
                --*=*) COMPREPLY=() ;;
-               -*)   __tigcomp "
+               -*)   tigcomp "
                                --line-number= --tab-size= --version --help
                                -b -d -h -l -S -v
                                " ;;
-               *)     __gitcomp "log diff show $(__tig_refs)" ;;
+               *)    tigcomp "log diff show $(__tig_refs)" ;;
                esac
                return
        fi