Debug zsh

This commit is contained in:
Stig-Ørjan Smelror 2024-01-31 17:02:09 +01:00
parent 8e164384c5
commit 7f4a2d8d6d

2
qsgen2
View File

@ -105,7 +105,7 @@ else
fi fi
debug=true debug=true
if (${debug}); then if (${debug}); then
qsconfig=$( cat $(pwd)/config | grep -v \# | cut -d" " -f2 ) qsconfig=$( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' )
qsconfig=$(<${qsconfig}) qsconfig=$(<${qsconfig})
echo "${red}Contents of Config file:${end}" echo "${red}Contents of Config file:${end}"
for lines in ${qsconfig} for lines in ${qsconfig}