-
Notifications
You must be signed in to change notification settings - Fork 246
Expand file tree
/
Copy path.env
More file actions
61 lines (37 loc) · 1.37 KB
/
.env
File metadata and controls
61 lines (37 loc) · 1.37 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
60
61
export EDITOR="nano"
export VISUAL="nano"
# XDG Base Directory Specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_RUNTIME_DIR="$HOME/.local/runtime" # macOS does not have session lifetime directories; alt: `~/Library/Caches`
# History
export HISTSIZE=32768;
export HISTFILESIZE="${HISTSIZE}";
export SAVEHIST=4096
export HISTCONTROL=ignoredups:erasedups
# Enable colors
export CLICOLOR=1
# Prefer US English and use UTF-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
# Highlight section titles in man pages
export LESS_TERMCAP_md="${yellow}";
# Keep showing man page after exit
export MANPAGER='less -X';
# Case-insensitive globbing (used in pathname expansion)
shopt -s nocaseglob
# Recursive globbing with "**"
if [ ${BASH_VERSINFO[0]} -ge 4 ]; then
shopt -s globstar
fi
# Append to the Bash history file, rather than overwriting it
shopt -s histappend
# Autocorrect typos in path names when using `cd`
shopt -s cdspell
# Do not autocomplete when accidentally pressing Tab on an empty line.
shopt -s no_empty_cmd_completion
# Check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize