diff --git a/hgext/show.py b/hgext/show.py
index 7bf7544fd6ccfa59c709dfc5b20d0f68e7bb59e0_aGdleHQvc2hvdy5weQ==..317566f0c2e6ea5597c6c199a419ff5a6666e060_aGdleHQvc2hvdy5weQ== 100644
--- a/hgext/show.py
+++ b/hgext/show.py
@@ -52,12 +52,6 @@
 cmdtable = {}
 command = registrar.command(cmdtable)
 
-configtable = {}
-configitem = registrar.configitem(configtable)
-configitem('commands', 'show.aliasprefix',
-    default=list,
-)
-
 revsetpredicate = registrar.revsetpredicate()
 
 class showcmdfunc(registrar._funcregistrarbase):
diff --git a/mercurial/configitems.py b/mercurial/configitems.py
index 7bf7544fd6ccfa59c709dfc5b20d0f68e7bb59e0_bWVyY3VyaWFsL2NvbmZpZ2l0ZW1zLnB5..317566f0c2e6ea5597c6c199a419ff5a6666e060_bWVyY3VyaWFsL2NvbmZpZ2l0ZW1zLnB5 100644
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -181,6 +181,9 @@
 coreconfigitem('color', 'pagermode',
     default=dynamicdefault,
 )
+coreconfigitem('commands', 'show.aliasprefix',
+    default=list,
+)
 coreconfigitem('commands', 'status.relative',
     default=False,
 )