Skip to content

Instantly share code, notes, and snippets.

View manchuck's full-sized avatar
⚒️
Hacking the gibson

Chuck Reeves manchuck

⚒️
Hacking the gibson
View GitHub Profile
@manchuck
manchuck / change.sh
Created March 4, 2016 15:42 — forked from adamwalzer/README.md
Bash Background Changer for Directory Navigation
export CLICOLOR=1
export TERM=xterm-256color
function cd() {
builtin cd "$@";
shopt -s nocasematch
if [[ "$PWD" == *"/Users/adamwalzer/Sites/cmwn-games-artifact"* ]]
then
echo -e "\033]50;SetProfile=Dev\a"
elif [[ "$PWD" == *"/Users/adamwalzer/Sites/cmwn-games-prod"* ]]