-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_profile
More file actions
30 lines (23 loc) · 755 Bytes
/
.bash_profile
File metadata and controls
30 lines (23 loc) · 755 Bytes
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
# Add `~/bin` to the `$PATH`
export PATH="$HOME/bin:$HOME/.local/bin:$PATH";
export TERM="xterm-256color"
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
for file in ~/.{bash_prompt,bash_aliases}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
# Append to the Bash history file, rather than overwriting it
shopt -s histappend;
# Autocorrect typos in path names when using `cd`
shopt -s cdspell;
# Set ls colors
if [ -f ~/.dircolors ]; then
eval `dircolors -b ~/.dircolors`
fi
# Set default git editor
export GIT_EDITOR=vim
export EDITOR=vim
# Disable creation of __pycache__
export PYTHONDONTWRITEBYTECODE=1