Skip to content

Instantly share code, notes, and snippets.

set-option -g default-terminal "screen-256color"
# set-option -g default-terminal "xterm-256color"
# History
set -g history-limit 10000
# Start windows at 1 rather than 0
set -g base-index 1
# bind-key -n M-/ copy-mode
@antiboredom
antiboredom / table.py
Created October 28, 2021 21:17
print a text file in columns
#!/usr/local/bin/python3
import sys
from rich.console import Console
from rich.table import Table
import argparse
def chunks(lst, n):
"""Yield successive n-sized chunks from lst."""