From 35f65637aa639bd787f1d70a8f9ae3e4affd1b31 Mon Sep 17 00:00:00 2001 From: James Zhu Date: Sat, 18 Sep 2021 16:46:37 +0800 Subject: [PATCH] use [ instead of [[ --- alias | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alias b/alias index fc01acd..97cb4e3 100644 --- a/alias +++ b/alias @@ -83,7 +83,7 @@ public-ports = ec2 describe-security-groups \ }' # List or set your region -region = !f() { [[ $# -eq 1 ]] && aws configure set region "$1" || aws configure get region; }; f +region = !f() { [ $# -eq 1 ] && aws configure set region "$1" || aws configure get region; }; f find-access-key = !f() { clear_to_eol=$(tput el)