-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
30 lines (23 loc) · 761 Bytes
/
bash_profile
File metadata and controls
30 lines (23 loc) · 761 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
# Append to history file
shopt -s histappend
# Check window size after each command and adjust
# rows and columns as required
shopt -s checkwinsize
# Fix typo's when cding
shopt -s cdspell
# Enable programmable completion features
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
# Source all dot files
for file in ~/{.path,.bash_prompt,.exports,.aliases,scripts/extract}; do
# Source only if file is exists, is readable and is a normal file
[ -r "$file" ] && [ -f "$file" ] && . "$file"
done
unset file
# vim: ft=sh ts=4 et sw=4:
export PATH="$HOME/.cargo/bin:$PATH"