Skip to content

Instantly share code, notes, and snippets.

View jamesbraza's full-sized avatar
😋

James Braza jamesbraza

😋
View GitHub Profile
@jamesbraza
jamesbraza / black_selection.sh
Last active March 9, 2020 15:27 — forked from BasPH/black_selection.sh
Black on selection
#!/usr/bin/env bash
# Source: https://blog.godatadriven.com/black-formatting-selection
# Added debugging prints, permissioning/cleanup, and also a bugfix for
# selecting whole file.
# Print commands/arguments for debugging
set -x
# Inputs