Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f4adf5334b
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (27 sloc) 0.944 kB
# z.bashrc is used to setup basic environment settings and load other files
# Check for an interactive session
[ -z "$PS1" ] && return
export EDITOR=vim
export VISUAL=vim
if [ -n "$DISPLAY" ]; then
BROWSER=chromium
fi
# don't put duplicate lines in the history. See bash(1) for more options
# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
# ... or force ignoredups and ignorespace
export HISTCONTROL=ignoreboth
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
# append to the history file, don't overwrite it
shopt -s histappend
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# load all my bash functions and aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# my python virtualenv tools
if [ -f ~/venv/venv ]; then
. ~/venv/venv
fi
Jump to Line
Something went wrong with that request. Please try again.