Rename variable.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 25 Oct 2011 21:53:31 +0300
changeset 237 ff30a2d60ee6
parent 236 8469af3b5d40
child 238 1ae5fbcaea7c
Rename variable.
.bashrc
--- 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