From b11933b484950ea6a0e23fc692487bf8117e0b7a Mon Sep 17 00:00:00 2001 From: evanchen Date: Wed, 13 Sep 2023 05:59:31 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Scripts/bash=5Faliases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/bash_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/bash_aliases b/Scripts/bash_aliases index 2a66b78..68851c6 100644 --- a/Scripts/bash_aliases +++ b/Scripts/bash_aliases @@ -39,7 +39,7 @@ alias dstat="docker stats --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}} # List hosts in .ssh/config -alias hosts="grep 'Host ' ~/.ssh/config | grep '^[[:blank:]]*[^[:blank:]#;]' | awk '{print $2}'" +alias hosts="grep '^[[:blank:]]*[^[:blank:]#;]' ~/.ssh/config | awk '/Host /{print \$2}'" #self define function for git add commit push acp(){