.bashrc
changeset 237 ff30a2d60ee6
parent 236 8469af3b5d40
child 239 8f3d4826aec2
--- a/.bashrc	Tue Oct 25 21:52:44 2011 +0300
+++ b/.bashrc	Tue Oct 25 21:53:31 2011 +0300
@@ -203,8 +203,8 @@
 complete -b builtin
 
 _hgsyncew() {
-  local curr=${COMP_WORDS[$COMP_CWORD]}
-  COMPREPLY=( $(compgen -W "--push" -- $curr) )
+  local cur=${COMP_WORDS[$COMP_CWORD]}
+  COMPREPLY=( $(compgen -W "--push" -- $cur) )
   return 0
 }
 complete -F _hgsyncew -o nospace hgsyncew