# base-files version 3.4-2 # WARNING # # IF THIS .bashrc IS MODIFIED IT WILL NOT BE UPDATED BY THE CYGWIN # SETUP PROGRAM. IT BECOMES YOUR RESPONSIBILITY. # # The latest version as installed by the Cygwin Setup program can # always be found at /etc/defaults/etc/skel/.bashrc # User dependent .bashrc file # 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 # Don't put duplicate lines in the history. # export HISTCONTROL=ignoredups # Ignore some controlling instructions # export HISTIGNORE="[ ]*:&:bg:fg" # 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' # # Some example functios # function settitle() { echo -n "^[]2;$@^G^[]1;$@^G"; } # add the gfortran directory as part of the search path PATH='/cygdrive/c/Python26/':$PATH # tell computer where to find chimera alias chimera='/cygdrive/c/Program\ Files/Chimera/bin/chimera.exe' # create shortcut for starting a xterm window alias newWindow='sh /usr/bin/startxwin.sh' # always start ssh with X11 forwarding alias ssh='ssh -Y' # create shortcut to users home directory alias home='cd /cygdrive/c/Documents\ and\ Settings/XXX/My\ Documents'