From cbd8481fe37dde252ee817a8157ed72b7bcad655 Mon Sep 17 00:00:00 2001 From: mikey dubs Date: Fri, 9 Jul 2021 01:12:56 -0700 Subject: [PATCH] feat(composer): add `cs` alias for `composer show` (#10034) Closes #10034 --- plugins/composer/README.md | 1 + plugins/composer/composer.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/composer/README.md b/plugins/composer/README.md index 00ada1e13..8c79c4109 100644 --- a/plugins/composer/README.md +++ b/plugins/composer/README.md @@ -29,5 +29,6 @@ Original author: Daniel Gomes | `cod` | `composer outdated --direct` | Shows a list of installed packages with available updates which are direct dependencies | | `cr` | `composer require` | Adds new packages to `composer.json` | | `crm` | `composer remove` | Removes packages from `composer.json` | +| `cs` | `composer show` | Lists available packages, with optional filtering | | `csu` | `composer self-update` | Updates composer to the latest version | | `cu` | `composer update` | Updates composer dependencies and `composer.lock` file | diff --git a/plugins/composer/composer.plugin.zsh b/plugins/composer/composer.plugin.zsh index f2076c220..a3883a1f2 100644 --- a/plugins/composer/composer.plugin.zsh +++ b/plugins/composer/composer.plugin.zsh @@ -45,6 +45,7 @@ alias co='composer outdated' alias cod='composer outdated --direct' alias cr='composer require' alias crm='composer remove' +alias cs='composer show' alias csu='composer self-update' alias cu='composer update'