summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index fcd92e97..8e8c4fde 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -955,3 +955,12 @@ class MoveCommand(Command):
else:
ui.notify('unknown movement: ' + self.movement,
priority='error')
+
+
+@registerCommand(MODE, 'reload', help='Reload all configuration files')
+class ReloadCommand(Command):
+
+ """Reload configuration."""
+
+ def apply(self, ui):
+ settings.reload()