Skip to content

Instantly share code, notes, and snippets.

@tconkling
Created August 4, 2012 23:56
Show Gist options
  • Save tconkling/3260686 to your computer and use it in GitHub Desktop.
Save tconkling/3260686 to your computer and use it in GitHub Desktop.
tconkling - bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
PATH=/usr/local/bin:~/bin:/export/assemblage/tools/bin:${PATH}
FIGNORE=".class:.svn:.cache"
export EDITOR="vi"
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
export HISTCONTROL=ignoreboth
#PS1="\@ \h:\w$ "
#PS1="\D{%I:%M%p} \h:\W$ "
#PS1="\D{%I:%M%p} \h:\w$ "
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color)
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
;;
*)
PS1='\u@\h:\w\$ '
;;
esac
export SVN_EDITOR=vim
export ANT_OPTS="-Xms256m -Xmx512m -ea"
export FLEX_HOME="/export/flex/flex4"
# rm: confirm by default
alias rm='/bin/rm -i'
# ls: show pathname nuggets (e.g. / after a directory name); colorized
alias ls='ls -F -G'
# Since I show the logical path in the prompt, show the physical path when I do "pwd"
alias pwd="pwd -P"
alias flashlog='tail -F ~/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment