alexanderepstein / Bash-Snippets

A collection of small bash scripts for heavy terminal users
MIT License
9.64k stars 842 forks source link

If task description is long, truncate it while displaying list of tasks it so that lines do not wrap #178

Closed mrkafk closed 5 years ago

mrkafk commented 6 years ago

Pull Request Label:

Pull Request Checklist:


Per title, if I add a task with long description, the lines in the task listing are wrapping which makes it unreadable. I've modified listing tasks (-g) accounting for terminal width and truncating description so that lines do not wrap (if you want to see full description, you can always widen the console).

alexanderepstein commented 5 years ago

These changes are not compatible with macOS you are using features added to later versions of bash. macOS runs an older version of bash so see what you can do to make it compatible

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically closed because it has been inactive for 30 days.