Merge branch 'maint'

* maint:
  parse-remote: typofix
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 9168879..ea093d2 100644
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -6,7 +6,7 @@
 
 get_default_remote () {
 	curr_branch=$(git symbolic-ref -q HEAD)
-	curr_branch="${cur_branch#refs/heads/}"
+	curr_branch="${curr_branch#refs/heads/}"
 	origin=$(git config --get "branch.$curr_branch.remote")
 	echo ${origin:-origin}
 }