-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
90 lines (67 loc) · 2.56 KB
/
.bash_profile
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Enable XON/XOFF flow control (that is, Ctrl-S/Ctrl-Q). May be negated.
stty -ixon > /dev/null 2>&1
# Start clean
export PATH="$HOME/.local/bin:$HOME/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"
# Set NPM Global to local
export PATH="$HOME/.npm-global/bin:$PATH"
# Adjust path to catch local scripts
export PATH="$PATH:$HOME/.scripts"
# Unset the time consuming "not found" error message
export TERM=xterm-256color
unset command_not_found_handle
export HISTCONTROL=erasedups
export HISTIGNORE="$HISTIGNORE:ls:ll:la:cd"
export HISTIGNORE="$HISTIGNORE:git dc:git st"
export HISTIGNORE="$HISTIGNORE:python"
export HISTSIZE=-1
export HISTFILESIZE=100000
export GLOBIGNORE=.:..
# default connect URI for libvirt
export LIBVIRT_DEFAULT_URI="qemu:///system"
# Vagrant default provider
export VAGRANT_DEFAULT_PROVIDER=virtualbox
# Virtualenv and virtualenv wrapper
export VIRTUALENV_PYTHON="/usr/bin/python2.7"
export VIRTUALENVWRAPPER_PYTHON="/usr/bin/python2.7"
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS="--no-site-packages"
export WORKON_HOME="$HOME/Projects/.venvs"
# Use libvirt as default provider for Vagrant
export VAGRANT_DEFAULT_PROVIDER='libvirt'
# default editor
export EDITOR="vim"
export GIT_EDITOR=vim
# pip should only run if there is a virtualenv curently activated
# see .bash_functions on how to install global python packages via
# function gpip2 and gpip3.
export PIP_REQUIRE_VIRTUALENV=true
# get rid of those .pyc files once and for all
export PYTHONDONTWRITEBYTECODE=1
export IGNOREEOF=1
# taskwarrior config place
export TASKRC="$HOME/.taskrc"
export TASKDATA="$HOME/.task/data"
# Locale
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# colorize my bash
eval "$(dircolors -b ~/.dir_colors)"
[[ -f "$HOME/.bash_aliases" ]] && source "$HOME/.bash_aliases"
[[ -f "$HOME/.bash_functions" ]] && source "$HOME/.bash_functions"
[[ -f "$HOME/.bash_prompt" ]] && source "$HOME/.bash_prompt"
# Assuming you installed virtualenv via pip --user
[[ -f "$HOME/.local/bin/virtualenvwrapper.sh" ]] && $HOME/.local/bin/virtualenvwrapper.sh
# setting up GOPATH and point PATH to Go binaries
export GOPATH="$HOME/Projects/go"
export PATH="$GOPATH/bin:$PATH"
# setting Protocol Buffer compiler
export PROTOCPATH="/home/tmoreira/Tools/protoc"
export PATH="$PROTOCPATH/bin:$PATH"
# OC-Cluster-Wrapper project
export PATH="$PATH:$HOME/Projects/oc-cluster-wrapper"
# Export PIT openstack variables
source $HOME/.scripts/openstack-pit.sh
# Custom installation of go
export GOROOT="$HOME/.local/go"
export PATH="$GOROOT/bin:$PATH"
# github personal token to stop rate limit message
export GH_TOKEN=