-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
56 lines (45 loc) · 1.2 KB
/
bashrc
File metadata and controls
56 lines (45 loc) · 1.2 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
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
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
export PGUSER=postgres
export PGDATABASE=postgres
export PGHOST=localhost
export PGPORT=5432
export ERL_AFLAGS="-kernel shell_history enabled"
export GPG_TTY=$(tty)
if [[ -e $HOME/.local/bin ]]; then
export PATH="$PATH:$HOME/.local/bin"
fi
export ASDF_DATA_DIR="${ASDF_DATA_DIR:-$HOME/.asdf}"
if ! command -v asdf &> /dev/null; then
if [[ -x $ASDF_DATA_DIR/bin/asdf ]]; then
export PATH="$ASDF_DATA_DIR/bin:$PATH"
fi
fi
if [[ -e $ASDF_DATA_DIR/shims ]]; then
export PATH="$ASDF_DATA_DIR/shims:$PATH"
. <(asdf completion bash)
fi
if command -v direnv &>/dev/null; then
eval "$(direnv hook bash)"
fi
if ! infocmp "$TERM" >/dev/null 2>&1; then
export TERM=xterm-256color
fi