From 18b31cc4cd138837b7e8b277bffba66c6bda5ce2 Mon Sep 17 00:00:00 2001 From: Jefferson Faseler Date: Tue, 23 Nov 2021 15:50:35 -0600 Subject: [PATCH] Add further aliases for install and remove --- cmd/pkgs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/pkgs.go b/cmd/pkgs.go index 4d30f21..bd967e2 100644 --- a/cmd/pkgs.go +++ b/cmd/pkgs.go @@ -17,6 +17,7 @@ var ( // installPkgCmd represents the command for installing vim packages var installPkgCmd = &cobra.Command{ Use: "install [pkg url]", + Aliases: []string{"add", "i"}, Short: "easily install a vim package", SilenceUsage: true, SilenceErrors: true, @@ -64,7 +65,7 @@ var reinstallPkgCmd = &cobra.Command{ // removePkgCmd represents the command for removing vim packages var removePkgCmd = &cobra.Command{ Use: "rm [pkg name]", - Aliases: []string{"remove"}, + Aliases: []string{"remove", "delete"}, Short: "easily remove a vim package", SilenceUsage: true, SilenceErrors: true,