From cf3af450ebaaa324d0367294a449bd70a00e971f Mon Sep 17 00:00:00 2001 From: vilmibm Date: Wed, 15 Jul 2020 11:40:35 -0500 Subject: [PATCH] minor docs --- command/alias.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/alias.go b/command/alias.go index 87573fad2..e5cec0b0b 100644 --- a/command/alias.go +++ b/command/alias.go @@ -40,10 +40,10 @@ var aliasSetCmd = &cobra.Command{ includes positional placeholders such as '$1', '$2', etc., any extra arguments that follow the invocation of an alias will be inserted appropriately. - If '--shell' is specified, the alias will be run through a shell interpreter (sh or pwsh). This allows you + If '--shell' is specified, the alias will be run through a shell interpreter (sh). This allows you to compose commands with "|" or redirect with ">". Note that extra arguments following the alias will not be automatically passed to the expanded expression. To have a shell alias receive - arguments, you must explicitly accept them using "$1", "$2", etc or "$@" to accept all of them. + arguments, you must explicitly accept them using "$1", "$2", etc., or "$@" to accept all of them. Platform note: on Windows, shell aliases are executed via "sh" as installed by Git For Windows. If you have installed git on Windows in some other way, shell aliases may not work for you.