# .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi ################################ # Imtiaz's Settings #================== #------------------------------ # Some example alias instructions # alias less='less -r' # alias rm='rm -i' # alias whence='type -a' # alias ls='ls -F --color=tty' # alias dir='ls --color=auto --format=vertical' # alias vdir='ls --color=auto --format=long' # alias ll='ls -l' # alias la='ls -A' # alias l='ls -CF' #------------------------------ # Some example functions # function settitle() { echo -n "^[]2;$@^G^[]1;$@^G"; } #------------------------------ # To set the command line in vi editor mode set -o vi #------------------------------ # Don't put duplicate lines in the history. #export HISTCONTROL=ignoredups #------------------------------ # Set Ctrl+d to be ignored set -o ignoreeof #------------------------------ # Prompt Settings #HOW TO SET HOST TO imtiaz??? ESCAPE="`echo X | tr X '\033'`" export ESCAPE #------------------------------ # ASU Email ASUHOST="general.asu.edu" alias email='echo "ssh -X -l pro967 ${ASUHOST}" && ssh -X -l pro967 ${ASUHOST}' #------------------------------ # Current most used working directory #wd="/cygdrive/g/Digital_Radio/" #------------------------------ # adding ${HOME}/local/bin to path for exe files and links # here is where i put all the windows application links PATH=$PATH:${HOME}/local/bin/:${HOME}/bin #------------------------------ # Safeguarding accidental delete # the option can be overridden by preceding rm with \ (backslash) alias rm='rm -i' #------------------------------ # Start web browses at specific sites # Educational alias asu='ie www.asu.edu &' alias 581='ie http://www.fulton.asu.edu/%7Emorrell/581/ &' # NEWS alias jang='ie www.jang-group.com &' alias independent='ie www.independent.co.uk &' # Shopping alias ableshoppers='ie www.ableshoppers.com &' alias techbargains='ie www.techbargains.com &' alias newegg='ie www.newegg.com &' alias googlegear='ie www.googlegear.com &' # Search Engines alias google='ie www.google.com &' #------------------------------ # Define colors for "ls" command alias ls="ls -F --color=tty" export LS_COLORS=fi=0:di=33:*.c=35:*.h=31:*.m4=34:*akefile=41 ###############################