Skip to content

Instantly share code, notes, and snippets.

View leggsimon's full-sized avatar
🙃

Simon Legg leggsimon

🙃
View GitHub Profile
# from https://apple.stackexchange.com/a/267261
function show_italics {
echo "xterm-256color|xterm with 256 colors and italic,\n sitm=\E[3m, ritm=\E[23m,\n use=xterm-256color," >> xterm-256color.terminfo.txt
tic -o ~/.terminfo xterm-256color.terminfo.txt
rm xterm-256color.terminfo.txt
}
# set up gitcommit message styling https://shime.sh/git-commit-message-syntax-highlighting-in-vim
function add_gitcommit_message_styling {
mkdir -p ~/.vim/after/syntax/
export const log = (...args) => console.log(...args);