.bashrc

From Rohidekar

Jump to: navigation, search

Deprecated

# DO NOT REMOVE THE FOLLOWING LINE
. /etc/skel/bashrc-DEFAULT
# Add customizations below this line

# Default Local Timezone set to PST8PDT
# uncomment out the entry below to change it
#
#export TZ=CST6CDT

echo "In .bashrc"
echo $CDPATH

set show-all-if-ambiguous on
set completion-ignore-case on

bind "set show-all-if-ambiguous On" # show list automatically, without double tab

#alias rm='rm -i'

# Bash completion
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

# Colors
#if [ -f ~/.dir_colors ]; then
#            eval `dircolors ~/.dir_colors`
#fi

shopt -s histappend        # Append to history rather than overwrite

export PAGER=less
export PATH=$PATH:$HOME/bin:/usr/local/bin
export LESS='-R'
export HISTCONTROL=ignoredups
export HISTSIZE=5000
export HISTFILESIZE=1000

alias ll='ls -l'


#PROMPT_HOSTNAME='ubuntu'
#PROMPT_HOST_COLOR='1;31m'
#PROMPT_DIR_COLOR='1;34m'
#PROMPT_DEF_COLOR='0;39m'
#ROOT_AT=''

# Alias definitions.
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features 
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

export CDPATH=$CDPATH

#source ~/.dirs  # Initialization for the above 'save' facility: source the .sdirs file


#
# Key Bindings
#

# NOTE: We don't say \M-t for ALT-t. We say \et 

#
# These work:
#

# alt+'.':
#bind '"\xae"':yank-last-arg
# Ctrl - forward arrow
#bind '"\e[1;5C": kill-line'
#bind '"\C-t": "Helloworld"'
bind '"\eu": "ade useview"'
#bind 'Control-h: "Helloworld"'
Personal tools