|
|
|
@ -22,7 +22,7 @@ HISTFILESIZE=2000 |
|
|
|
# check the window size after each command and, if necessary, |
|
|
|
# update the values of LINES and COLUMNS. |
|
|
|
shopt -s checkwinsize |
|
|
|
|
|
|
|
shopt -s expand_aliases |
|
|
|
# If set, the pattern "**" used in a pathname expansion context will |
|
|
|
# match all files and zero or more directories and subdirectories. |
|
|
|
#shopt -s globstar |
|
|
|
@ -75,22 +75,13 @@ esac |
|
|
|
# enable color support of ls and also add handy aliases |
|
|
|
if [ -x /usr/bin/dircolors ]; then |
|
|
|
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" |
|
|
|
alias ls='ls --color=auto' |
|
|
|
#alias dir='dir --color=auto' |
|
|
|
#alias vdir='vdir --color=auto' |
|
|
|
|
|
|
|
#alias grep='grep --color=auto' |
|
|
|
#alias fgrep='fgrep --color=auto' |
|
|
|
#alias egrep='egrep --color=auto' |
|
|
|
fi |
|
|
|
|
|
|
|
# colored GCC warnings and errors |
|
|
|
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' |
|
|
|
|
|
|
|
# some more ls aliases |
|
|
|
#alias ll='ls -l' |
|
|
|
#alias la='ls -A' |
|
|
|
#alias l='ls -CF' |
|
|
|
|
|
|
|
|
|
|
|
# Alias definitions. |
|
|
|
# You may want to put all your additions into a separate file like |
|
|
|
@ -111,8 +102,3 @@ if ! shopt -oq posix; then |
|
|
|
. /etc/bash_completion |
|
|
|
fi |
|
|
|
fi |
|
|
|
export PATH="~/scripts:$PATH" |
|
|
|
export PATH="~/.pyenv/bin:$PATH" |
|
|
|
eval "$(pyenv init -)" |
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|
alias edit='emacsclient -nw -a ""' |