start new:
tmux
start new with session name:
tmux new -s myname
# Convert DOT graph data into a terminal-ready visualization | |
function idot { | |
dot \ | |
-Tpng -Gdpi=300 \ | |
-Efontsize=18 -Efontname=sans -Nfontname=sans \ | |
-Gbgcolor=black -Gcolor=white -Ecolor=white -Efontcolor=white -Ncolor=white -Nfontcolor=white \ | |
| convert -trim -bordercolor black -border 20 -transparent black -resize "60%" - - \ | |
| imgcat # Or swap with your favorite terminal image viewer | |
} |
// This script takes an iTerm Color Profile as an argument and translates it for use with Visual Studio Code's built-in terminal. | |
// | |
// usage: `node iterm-colors-to-vscode.js [path-to-iterm-profile.json] | |
// | |
// To export an iTerm Color Profile: | |
// 1) Open iTerm | |
// 2) Go to Preferences -> Profiles -> Colors | |
// 3) Other Actions -> Save Profile as JSON | |
// | |
// To generate the applicable color settings and use them in VS Code: |