Skip to content

Instantly share code, notes, and snippets.

View jstine35's full-sized avatar

Jake Stine jstine35

View GitHub Profile
@jstine35
jstine35 / colors.sh
Last active May 15, 2024 16:12
Quick snip for injecting ANSI colors into bash scripts
# Quick snip for injecting ANSI colors into bash scripts. Best used inside cat heredoc.
#
# Usage examples:
# cat << BOOKENDS
# ${blue}${bold}${underlined}Getting Started Guide:${nocolor}
# BOOKENDS
nocolor=''
@jstine35
jstine35 / install-emojis.sh
Last active August 24, 2024 19:57
Install Noto Emojis for Mintty on MSYS2
#!/bin/bash
[[ "$1" == --help ]] && SHOWHELP=1
(( SHOWHELP )) && {
echo "usage: install-emojis [/path/to/instance]"
echo
echo "Installs emojis at the system level for use by mintty."
echo "The brand of emoji installed are the Noto emojis from https://github.com/googlefonts/noto-emoji.git"
exit