Skip to content

Instantly share code, notes, and snippets.

Avatar
🛠️

Kutsan Kaplan kutsan

🛠️
View GitHub Profile
@kutsan
kutsan / print-true-color.zsh
Last active Feb 10, 2021
Test true color support for terminal emulator.
View print-true-color.zsh
#!/usr/bin/env zsh
##
# Test true color support for terminal emulator.
#
# To test it, `source` this file and use `print_true_color f1c40f 'something'`.
#
# @author Kutsan Kaplan <me@kutsankaplan.com>
# @license WTFPL
# @version 1.0.0