Skip to content

Instantly share code, notes, and snippets.

@mathbourne
mathbourne / gist:10541759
Created April 12, 2014 15:35
Perl: Test
#! /user/bin/perl
use strict;
print "Hello, Mac Sublime!\n";
@mathbourne
mathbourne / gist:306785
Last active August 29, 2015 13:59 — forked from gf3/gist:306785
Shell: Sexy Bash Profile
Moved to: http://github.com/gf3/dotfiles/blob/master/bash_prompt
@mathbourne
mathbourne / gist:10591445
Created April 13, 2014 16:36
Shell: bash_profile Landau
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@mathbourne
mathbourne / gist:10591474
Created April 13, 2014 16:36
Shell: bash_profile Jeffrey
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then
tput sgr0
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
MAGENTA=$(tput setaf 9)
ORANGE=$(tput setaf 172)
GREEN=$(tput setaf 190)