-
Notifications
You must be signed in to change notification settings - Fork 0
/
.environ
43 lines (32 loc) · 950 Bytes
/
.environ
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
umask 022
test "$UID" || UID=$(id -u)
test "$USER" || USER=$(id -un)
test "$HOSTNAME" || HOSTNAME=$(hostname)
set -a
PREFIX="$HOME/.local"
PATH="$HOME/bin:$PREFIX/bin:$PATH"
# Rust.
. $HOME/.cargo/env
# id & locale
EMAIL="[email protected]"
NAME="Joana Trindade"
TZ="America/New_York"
# programs
BROWSER="chromium-browser"
EDITOR="vim"
PAGER="less"
unset VISUAL
# defaults
LESS="e M q R F X z -3"
# http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/
LESS_TERMCAP_mb=$'\e[01;31m' # begin blinking
LESS_TERMCAP_md=$'\e[01;38;5;74m' # begin bold
LESS_TERMCAP_me=$'\e[0m' # end mode
LESS_TERMCAP_se=$'\e[0m' # end standout-mode
LESS_TERMCAP_so=$'\e[38;5;246m' # begin standout-mode - info box
LESS_TERMCAP_ue=$'\e[0m' # end underline
LESS_TERMCAP_us=$'\e[04;38;5;146m' # begin underline
if [ -f "$HOME/.environ.$HOSTNAME" ]; then
. $HOME/.environ.$HOSTNAME
fi
set +a