#!/bin/bash set -eu -o pipefail git clone --depth 1 https://github.com/longld/peda.git mkdir bin cat > bin/gdb-peda <> ~/.gdbinit if ! grep "init-peda" ~/.gdbinit; then cat >> ~/.gdbinit <