little changes in shell scripts

This commit is contained in:
HRS_D
2019-01-24 11:04:42 +01:00
parent a962f28c09
commit a52b56ded9
4 changed files with 21 additions and 11 deletions

View File

@@ -9,9 +9,9 @@ commands=(
)
# Build final command with all the tabs to launch
set finalCommand=""
finalCommand=""
for (( i = 0; i < ${#commands[@]} ; i++ )); do
export finalCommand+="--tab -e 'bash -c \"${commands[$i]};exec bash\"' "
finalCommand+="--tab -e 'bash -c \"${commands[$i]};exec bash\"' "
done
# Run the final command