-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
66 lines (51 loc) · 1.7 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
# import aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# include ~/bin in PATH
if [ -d ~/bin ]; then
export PATH=$HOME/bin:$PATH
fi
# nicer iTerm tabs
if [ $ITERM_SESSION_ID ]; then
export PROMPT_COMMAND='echo -ne "\033];${USER}@${HOSTNAME}\007"; ':"$PROMPT_COMMAND";
fi
# gitprompt
GIT_PROMPT_ONLY_IN_REPO=1
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
fi
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export EDITOR=vim
export LANGUAGE="en_US.UTF-8"
# lolcommit delay
LOLCOMMITS_DELAY=60
#maven
export MAVEN_OPTS="-Xmx1024m"
#gradle
export GRADLE_OPTS="-Xms1024m -Xmx1024m"
#path
export PATH=.:/Users/christoph/Library/Python/2.7/bin:$GRADLE_HOME/bin:$M2:$PATH
#use git completions
source ~/scripts/git-completion.bash
#customize history
export HISTFILESIZE=50000
export HISTSIZE=50000
export HISTCONTROL=erasedups
shopt -s histappend
#source nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
#old export NVM_DIR=~/.nvm
#old source $(brew --prefix nvm)/nvm.sh
#test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"
#!/bin/bash
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/Users/christoph/.sdkman"
[[ -s "/Users/christoph/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/christoph/.sdkman/bin/sdkman-init.sh"
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH