-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbash_profile
More file actions
59 lines (51 loc) · 2.34 KB
/
bash_profile
File metadata and controls
59 lines (51 loc) · 2.34 KB
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
# vi: ft=bash
# .bash_profile is executed to configure your shell
# before the initial command prompt.
export STEAM_FORCE_DESKTOPUI_SCALING=2.5
# User specific environment and startup programs
export EDITOR='vim'
export PATH=$PATH:$HOME/.bin:$HOME/bin:$HOME/.local/bin:/usr/local/heroku/bin
if [ "$(uname)" == "Darwin" ]; then # macosx is such a FUCKING PIECE OF SHIT!
export BASH_SILENCE_DEPRECATION_WARNING=1
export PGDATA=/usr/local/var/postgres
#ADDED BY 010 EDITOR
export PATH="$PATH:/Applications/010 Editor.app/Contents/CmdLine"
else
# ADDED BY INSTALLER - DO NOT EDIT OR DELETE THIS COMMENT - 87FF8EFC-483D-BCAA-D67D-735CF60410D1 30E88B38-52F9-C6F4-3366-D54631498618
PATH=$PATH:/home/random/opt/010editor;export PATH;
fi
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# if [ "$(uname)" == "Darwin" ]; then # macosx is such a FUCKING PIECE OF SHIT!
# # Do something under Mac OS X platform
# if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then
# __GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share
# GIT_PROMPT_ONLY_IN_REPO=1
# source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
# fi
# elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# # Do something under GNU/Linux platform
# if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
# GIT_PROMPT_ONLY_IN_REPO=1
# source $HOME/.bash-git-prompt/gitprompt.sh
# fi
# elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
# # Do something under 32 bits Windows NT platform
# :
# elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
# # Do something under 64 bits Windows NT platform
# :
# fi
# brew install git bash-completion
if [ "$(uname)" == "Darwin" ]; then # macosx is such a FUCKING PIECE OF SHIT!
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion || {
# if not found in /usr/local/etc, try the brew --prefix location
[ -f "$(brew --prefix)/etc/bash_completion.d/git-completion.bash" ] && \
. $(brew --prefix)/etc/bash_completion.d/git-completion.bash
}
fi
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
. "$HOME/.cargo/env"