summaryrefslogtreecommitdiff
path: root/Command/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Config.hs')
-rw-r--r--Command/Config.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Command/Config.hs b/Command/Config.hs
index c9b6a7b0b..5da196044 100644
--- a/Command/Config.hs
+++ b/Command/Config.hs
@@ -9,6 +9,7 @@ module Command.Config where
import Command
import Logs.Config
+import Config
cmd :: Command
cmd = noMessages $ command "config" SectionSetup
@@ -52,12 +53,14 @@ seek (SetConfig name val) = commandAction $ do
showStart name val
next $ next $ do
setGlobalConfig name val
+ setConfig (ConfigKey name) val
return True
seek (UnsetConfig name) = commandAction $ do
allowMessages
showStart name "unset"
next $ next $ do
unsetGlobalConfig name
+ unsetConfig (ConfigKey name)
return True
seek (GetConfig name) = commandAction $ do
mv <- getGlobalConfig name