-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
69 lines (59 loc) · 3.45 KB
/
.exports
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
62
63
64
65
66
67
68
69
# Make vim the default editor
export EDITOR=/usr/bin/vim;
# Set LS_COLORS (GNU).
#
# - `ls` displays colors if the `--color` option is passed.
#
# - The actual colors are configured through the `LS_COLORS`
# environment variable (built-in defaults are used if this
# variable is not set).
LS_COLORS=""
LS_COLORS+="rs=0:" # Reset
LS_COLORS+="no=0;39:" # Normal, the global default
LS_COLORS+="di=1;34:" # Directory
LS_COLORS+="ex=1;32:" # Executable file
LS_COLORS+="fi=0;39:" # File
LS_COLORS+="mi=0;31:" # Non-existent file pointed to by a symlink
LS_COLORS+="ln=1;36:" # Symbolic link
LS_COLORS+="or=1;31" # Symbolic link pointing to a non-existent file
LS_COLORS+="mh=0:" # File with more than one link
LS_COLORS+="pi=40;33:" # Pipe
LS_COLORS+="so=1;35:" # Socket
LS_COLORS+="do=1;35:" # Door
LS_COLORS+="bd=1;33:" # Block device driver
LS_COLORS+="cd=1;33:" # Door
# Image formats
LS_COLORS+="*.jpg=1;35:*.jpeg=1;35:*.mjpg=1;35:*.mjpeg=1;35:*.gif=1;35:*.bmp=1;35:*.pbm=1;35:*.pgm=1;35:*.ppm=1;35:*.tga=1;35:*.xbm=1;35:*.xpm=1;35:*.tif=1;35:*.tiff=1;35:*.png=1;35:*.svg=1;35:*.svgz=1;35:*.mng=1;35:*.pcx=1;35:*.mov=1;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=1;35:*.mkv=1;35:*.webm=1;35:*.ogm=1;35:*.mp4=1;35:*.m4v=1;35:*.mp4v=1;35:*.vob=1;35:*.qt=1;35:*.nuv=1;35:*.wmv=1;35:*.asf=1;35:*.rm=1;35:*.rmvb=1;35:*.flc=1;35:*.avi=1;35:*.fli=1;35:*.flv=1;35:*.gl=1;35:*.dl=1;35:*.xcf=1;35:*.xwd=1;35:*.yuv=1;35:*.cgm=1;35:*.emf=1;35:*.ogv=1;35:*.ogx=1;35:"
# Audio formats
LS_COLORS+="*.aac=0;36:*.au=0;36:*.flac=0;36:*.m4a=0;36:*.mid=0;36:*.midi=0;36:*.mka=0;36:*.mp3=0;36:*.mpc=0;36:*.ogg=0;36:*.ra=0;36:*.wav=0;36:*.oga=0;36:*.opus=0;36:*.spx=0;36:*.xspf=0;36:"
# Archive formats
LS_COLORS+='*.tar=1;31:*.tgz=1;31:*.arc=1;31:*.arj=1;31:*.taz=1;31:*.lha=1;31:*.lz4=1;31:*.lzh=1;31:*.lzma=1;31:*.tlz=1;31:*.txz=1;31:*.tzo=1;31:*.t7z=1;31:*.zip=1;31:*.z=1;31:*.Z=1;31:*.dz=1;31:*.gz=1;31:*.lrz=1;31:*.lz=1;31:*.lzo=1;31:*.xz=1;31:*.zst=1;31:*.tzst=1;31:*.bz2=1;31:*.bz=1;31:*.tbz=1;31:*.tbz2=1;31:*.tz=1;31:*.deb=1;31:*.rpm=1;31:*.jar=1;31:*.war=1;31:*.ear=1;31:*.sar=1;31:*.rar=01;31:*.alz=1;31:*.ace=1;31:*.zoo=1;31:*.cpio=1;31:*.7z=1;31:*.rz=1;31:*.cab=1;31:*.wim=1;31:*.swm=1;31:*.dwm=1;31:*.esd=1;31:';
export LS_COLORS
# highlighting inside manpages and elsewhere
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[1;34m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[90;43m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
# Use standard ISO 8601 timestamp
# %F equivalent to %Y-%m-%d
# %T equivalent to %H:%M:%S (24-hours format)
export HISTTIMEFORMAT='%F %T '
export HISTCONTROL="erasedups:ignoreboth"
export HISTSIZE=50000000
export HISTFILESIZE=$HISTSIZE
# keep history up to date, across sessions, in realtime
# http://unix.stackexchange.com/a/48113
# Save and reload the history after each command finishes
# causes readline to go over all history, not just this bash session
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
# Prefer US English and use UTF-8
export LANG="en_US.UTF-8";
export LC_ALL="en_US.UTF-8";
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X";
# Node Version Manager
export NVM_DIR="$HOME/.nvm"
# export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"