aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2024-03-07 17:01:44 +0000
committerRobin Jarry <robin@jarry.cc>2024-03-10 18:53:37 +0100
commitf9b41b24b719310be756a77f9f9d49e69fa5aa72 (patch)
tree5537fba072a2f5fd55d7ef7be0ecbdad7acd107a /commands
parent1ec7feaf9b684f590a7121d33dbf8713f1b435e1 (diff)
downloadaerc-f9b41b24b719310be756a77f9f9d49e69fa5aa72.tar.gz
aerc-f9b41b24b719310be756a77f9f9d49e69fa5aa72.zip
quit: add :q alias
This used to work, but after f3a61a34 (where :query) was added, we had two commands which then started with q. So, the automatic alias stopped working. Changelog-added: Specify a ":q" alias for quit. Signed-off-by: Tristan Partin <tristan@partin.io> Acked-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands')
-rw-r--r--commands/quit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/quit.go b/commands/quit.go
index aa996422..e17200ef 100644
--- a/commands/quit.go
+++ b/commands/quit.go
@@ -19,7 +19,7 @@ func (Quit) Context() CommandContext {
}
func (Quit) Aliases() []string {
- return []string{"quit", "exit"}
+ return []string{"quit", "q", "exit"}
}
type ErrorExit int