We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some shells don't have the COLUMNS defined in certain cases.
This makes fold error: fold: invalid number of columns: ‘’
fold: invalid number of columns: ‘’
A sane default would be appreciated. Either really big or a standard width 80.
Simply changing $COLUMNS -> ${COLUMNS:-80} would be an improvement.
$COLUMNS
${COLUMNS:-80}
The text was updated successfully, but these errors were encountered:
I have the same error when run 'chatgpt -p "Text"' or 'echo "Text" | chatgpt'.
Sorry, something went wrong.
I like the idea of this project but it does not cover my use-cases that well. I wrote something much simpler in bash that works for me. Maybe it helps this project or others: https://gist.github.com/bas080/2268473a12af12320d366b9dce7a0f6a
@BalurPoco Solved it by using at the start export COLUMNS=80
export COLUMNS=80
I just encountered the same issue. so I quickly updated it and sent the PR here: #162 please help review if it resolves the problem.
No branches or pull requests
Some shells don't have the COLUMNS defined in certain cases.
This makes fold error:
fold: invalid number of columns: ‘’
A sane default would be appreciated. Either really big or a standard width 80.
Simply changing
$COLUMNS
->${COLUMNS:-80}
would be an improvement.The text was updated successfully, but these errors were encountered: