Skip to content

Instantly share code, notes, and snippets.

View iamjonbradley's full-sized avatar

Jonathan Bradley iamjonbradley

View GitHub Profile
@christopher-hopper
christopher-hopper / phpenv-macos.sh
Last active June 18, 2024 01:55 — forked from eporama/phpenv-osx.sh
Install phpenv on macOS with homebrew php packages.
#!/usr/bin/env bash
# vim: ai ts=2 sw=2 et sts=2 ft=sh
# Install or re-install phpenv with
# multiple versions of PHP on macOS.
#
# Usage:
#
# curl -fsSL "https://git.io/JvG7i?cb=$RANDOM" | bash
#
#ONE PS1 TO RULE THEM ALL
#add this to ~/.bash_profile or system equivalent
export PS1="\[\033[0;32m\]\u@\`if [ \$? = 0 ]; then echo \[\e[32m\] ┬─┬ノ\(º _ ºノ\); else echo \[\e[31m\] \(ノಥ 益ಥ)ノ ┻━┻ ; fi\`\[\e[0m\]:\w\$ "