-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
47 lines (40 loc) · 847 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
export EMAIL=""
#
# Set my 10 year old PS1
#
if [ -f ~/.ps1 ]; then
. ~/.ps1
fi
#
# History option from http://blog.sanctum.geek.nz/better-bash-history/
#
shopt -s histappend
HISTSIZE=1000000
HISTCONTROL=ignoreboth
HISTIGNORE='ls:ls\ -l:bg:fg:history'
HISTTIMEFORMAT='%F %T '
shopt -s cmdhist
#
# Setup virtualenvwrapper
#
# sudo yum install python-setuptools
# easy_install --user virtualenvwrapper
#
if [ -x ~/.local/bin/virtualenvwrapper.sh ]; then
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/projects
test -d $PROJECT_HOME || mkdir -p $PROJECT_HOME
. ~/.local/bin/virtualenvwrapper.sh
fi
#
# My App Dir
#
if [ -d ~/Apps/bin ]; then
export PATH=${PATH}:~/Apps/bin
fi