From fe7230bb9acc5dc9cc8a982a35196dd6796b5360 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 17 Jul 2019 18:42:03 -0400 Subject: [PATCH] Add :cp alias for :copy --- commands/msg/copy.go | 2 +- config/config.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/msg/copy.go b/commands/msg/copy.go index 6bf33cd..8056e38 100644 --- a/commands/msg/copy.go +++ b/commands/msg/copy.go @@ -18,7 +18,7 @@ func init() { } func (_ Copy) Aliases() []string { - return []string{"copy"} + return []string{"cp", "copy"} } func (_ Copy) Complete(aerc *widgets.Aerc, args []string) []string { diff --git a/config/config.go b/config/config.go index 6f3345d..4a049fa 100644 --- a/config/config.go +++ b/config/config.go @@ -79,8 +79,8 @@ type FilterConfig struct { type ViewerConfig struct { Pager string Alternatives []string - ShowHeaders bool `ini:"show-headers"` - AlwaysShowMime bool `ini:"always-show-mime"` + ShowHeaders bool `ini:"show-headers"` + AlwaysShowMime bool `ini:"always-show-mime"` HeaderLayout [][]string `ini:"-"` }