From 3d1fe7b1737bd058102d41edf8083984b0c1ff50 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 28 Jan 2024 20:33:29 +0100 Subject: [PATCH] Fix shellcheck warning --- .bin/ssh-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/ssh-hosts b/.bin/ssh-hosts index c6e6547..e405579 100755 --- a/.bin/ssh-hosts +++ b/.bin/ssh-hosts @@ -1,5 +1,5 @@ #!/usr/bin/env bash -ssh_hosts=$(grep -E 'Host [a-z0-9\-]*$' ~/.ssh/config | awk '{print $2}') +ssh_hosts="$(grep -E 'Host [a-z0-9\-]*$' ~/.ssh/config | awk '{print $2}')" echo "$ssh_hosts"