diff --git a/functions/cmd_to_container.sh b/functions/cmd_to_container.sh index 6df7509e..4f335a49 100644 --- a/functions/cmd_to_container.sh +++ b/functions/cmd_to_container.sh @@ -48,9 +48,9 @@ else clear -x title cont_search=$( - for container in "${containers[@]}" + for i in "${containers[@]}" do - echo "$container" + echo "$i" done | nl -s ") " | column -t ) echo "$cont_search"