-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
29 lines (24 loc) · 852 Bytes
/
bash_profile
File metadata and controls
29 lines (24 loc) · 852 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
#!/hint/bash
# Standard environment
if [ -z "$MY_BASH_ENV_IS_SET" ]; then
[ -f "${HOME}/.profile" ] && . "${HOME}/.profile"
MY_BASH_ENV_IS_SET=true
[ -f "${HOME}/.local/bash" ] && . "${HOME}/.local/bash"
fi
# Interactive configuration
case $- in
*i*)
HISTIGNORE='&:[ ]*:[bf]g:exit' # Ignore duplicate entries and anything preceded by a space
HISTTIMEFORMAT='%F %T ' # ISO date and time
HISTSIZE=-1 # No limit
HISTFILESIZE=1000000
HISTCONTROL=erasedups:ignorespace
command -v emacsclient >/dev/null && export EDITOR=emacsclient
PRF="${HOME}/dotfiles/bash"
[ -f "${PRF}/aliases" ] && . "${PRF}/aliases"
[ -f "${PRF}/prompt" ] && . "${PRF}/prompt"
[ -f "${PRF}/completion" ] && . "${PRF}/completion"
unset PRF
;;
esac
# Stuff below here was added by an automation