Please bear with us as we work to restore functionality to dotfiles.org.
configured for cygwin running on xp
# base-files version 3.7-1
# To pick up the latest recommended .bashrc content,
# look in /etc/defaults/etc/skel/.bashrc
# Modifying /etc/skel/.bashrc directly will prevent
# setup from updating it.
# The copy in your home directory (~/.bashrc) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benificial to all, please feel free to send
# a patch to the cygwin mailing list.
# User dependent .bashrc file
# Shell Options
# #############
# See man bash for more options...
# Don't wait for job termination notification
# set -o notify
# Don't use ^D to exit
# set -o ignoreeof
# Use case-insensitive filename globbing
# shopt -s nocaseglob
# Make bash append rather than overwrite the history on disk
# shopt -s histappend
# When changing directory small typos can be ignored by bash
# for example, cd /vr/lgo/apaache would find /var/log/apache
# shopt -s cdspell
# Completion options
# ##################
# These completion tuning parameters change the default behavior of bash_completion:
# Define to access remotely checked-out files over passwordless ssh for CVS
# COMP_CVS_REMOTE=1
# Define to avoid stripping description in --option=description of './configure --help'
# COMP_CONFIGURE_HINTS=1
# Define to avoid flattening internal contents of tar files
# COMP_TAR_INTERNAL_PATHS=1
# If this shell is interactive, turn on programmable completion enhancements.
# Any completions you add in ~/.bash_completion are sourced last.
# case $- in
# *i*) [[ -f /etc/bash_completion ]] && . /etc/bash_completion ;;
# esac
# History Options
# ###############
# Don't put duplicate lines in the history.
# export HISTCONTROL="ignoredups"
# Ignore some controlling instructions
# export HISTIGNORE="[ ]*:&:bg:fg:exit"
# Whenever displaying the prompt, write the previous line to disk
# export PROMPT_COMMAND="history -a"
# Aliases
# #######
# Some example alias instructions
# If these are enabled they will be used instead of any instructions
# they may mask. For example, alias rm='rm -i' will mask the rm
# application. To override the alias instruction use a \ before, ie
# \rm will call the real rm not the alias.
# Interactive operation...
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
# Default to human readable figures
# alias df='df -h'
# alias du='du -h'
# Misc :)
# alias less='less -r' # raw control characters
# alias whence='type -a' # where, of a sort
# alias grep='grep --color' # show differences in colour
# Some shortcuts for different directory listings
# alias ls='ls -hF --color=tty' # classify files in colour
# alias dir='ls --color=auto --format=vertical'
# alias vdir='ls --color=auto --format=long'
# alias ll='ls -l' # long list
# alias la='ls -A' # all but . and ..
# alias l='ls -CF' #
alias f='/c/Program\ Files/Mozilla\ Firefox/firefox.exe -new-tab'
alias y='/Home/Myer/yubnub.sh'
alias hint='~/todo.sh -d ~/.hints'
alias sam='/c/Program\ Files/Samurize/Client.exe'
alias pj='~/project.sh -c -s'
alias jn='cd ~/jrn;cat >> `date '+%y%m%d'`.xml'
alias jrn='cd ~/jrn;vim 20`date '+%y%m%d'`.xml'
alias mydoc='cd /c/Documents\ and\ Settings/Myer/My\ Documents'
alias pjsm='pj over | grep sm > ~/projects/sm-index.txt'
alias tsum='t ls | grep -o p:[[:alnum:]_]* | sort | uniq > ~/projects.txt;t ls | grep -o @[[:alnum:]_]* | sort | uniq > ~/contexts.txt'
alias lst='t -p ls | less'
alias acro='/c/Program\ Files/Adobe/Acrobat\ 8.0/Acrobat/Acrobat.exe'
alias chuck='/c/WINDOWS/chuck.exe'
alias flexb='~/scripts/flexbuild.sh'
alias gv='~/scripts/gv.sh'
alias jc='~/java/jc.sh'
alias jr='~/java/jr.sh'
#alias ls='ls -lh'
alias t='~/todo.sh'
alias fireopen='~/scripts/FFopenDIR.sh'
alias vimAnt='~/scripts/vimAnt.sh'
alias buildant='cp ~/buildxml.template ./build.xml; vim build.xml'
alias r='ratpoison -c '
alias mnemo='/c/Program\ Files/Mnemosyne/mnemosyne.exe'
alias ldir='ls -ld */'
# Functions
# #########
# Some example functions
# function settitle() { echo -ne "\e]2;$@\a\e]1;$@\a"; }
# got this from iwiwdsmi.blogspot.com/search/label/cygwin
# export PS1="\n\e[31;1m\w\n\e[0m\$ " - disabled after problems with line wrap
# see http://cygwin.com/ml/cygwin/2001-07/msg00147.html
# i tried this out, this was from cygwin faq on how to customize, but it had some problems.
# export PS1='\[\e]0;\h:\u - \w\a\]\['`tput bold`'\]\n\u@\h ($OS) : \w\n\$\['`tput sgr0`'\]'
# this one actually works, but I needed something more interesting:
# export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\H> \[\e[0m\]"
# so I switched to this.
export PS1="\n\[\e[36;1m\]\w\n\[\e[31;1m\]\u@\H> \[\e[0m\]"
#Get bash filename completion to be case insensitive - there is also a line in inputrc
shopt -s nocaseglob
#using Sofeng's suggestion to get cut/copy/paste to work
stty lnext ^q stop undef start undef