contrib/bash_completion
changeset 1018 bb3f23fe59f0
parent 981 4f81068ed8cd
child 1115 89f54e72581d
equal deleted inserted replaced
1017:cbc3d3d39d7d 1018:bb3f23fe59f0
   101 	    _hg_commands
   101 	    _hg_commands
   102 	;;
   102 	;;
   103 	export|manifest|update|checkout|up|co)
   103 	export|manifest|update|checkout|up|co)
   104 	    _hg_tags
   104 	    _hg_tags
   105 	;;
   105 	;;
   106 	pull|push|outgoing|incoming)
   106 	pull|push|outgoing|incoming|out|in)
   107 	    _hg_paths
   107 	    _hg_paths
   108 	    COMPREPLY=(${COMPREPLY[@]:-} $( compgen -d -- "$cur" ))
   108 	    COMPREPLY=(${COMPREPLY[@]:-} $( compgen -d -- "$cur" ))
   109 	;;
   109 	;;
   110 	paths)
   110 	paths)
   111 	    _hg_paths
   111 	    _hg_paths
   112 	;;
   112 	;;
   113 	add)
   113 	add)
   114 	    _hg_status "u"
   114 	    _hg_status "u"
   115 	;;
   115 	;;
   116 	commit)
   116 	commit|ci)
   117 	    _hg_status "mra"
   117 	    _hg_status "mra"
   118 	;;
   118 	;;
   119 	remove)
   119 	remove)
   120 	    _hg_status "r"
   120 	    _hg_status "r"
   121 	;;
   121 	;;