First Commit

This commit is contained in:
Robert R Evans
2010-10-02 11:55:34 -07:00
commit 9c7cd9aa00
25 changed files with 2344 additions and 0 deletions

18
lib/aliases.bash Normal file
View File

@@ -0,0 +1,18 @@
# List directory contents
alias sl=ls
alias ls='ls -G' # Compact view, show colors
alias la='ls -AF' # Compact view, show hidden
alias ll='ls -al'
alias l='ls -a'
alias c='clear'
alias k='clear'
alias ..='cd ..' # Go up one directory
alias ...='cd ../..' # Go up two directories
alias -- -="cd -" # Go back
# Shell History
alias h='history'
#

12
lib/appearance.bash Normal file
View File

@@ -0,0 +1,12 @@
# colored grep
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;33'
# colored ls
export LSCOLORS='Gxfxcxdxdxegedabagacad'
# Apply theming defaults
PS1="%n@%m:%~%# "
# Load the theme
source "$BASH/themes/$BASH_THEME/$BASH_THEME.bash"

2
lib/grep.bash Normal file
View File

@@ -0,0 +1,2 @@
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;32'

15
lib/history.bash Normal file
View File

@@ -0,0 +1,15 @@
# append to bash_history if Terminal.app quits
shopt -s histappend
# history handling
#
# Erase duplicates
# Bash History
export HISTCONTROL="ignoredups"
export HISTCONTROL=erasedups
# resize history size
export HISTSIZE=5000
export AUTOFEATURE=true autotest