-
Notifications
You must be signed in to change notification settings - Fork 2
/
zshenv
61 lines (49 loc) · 2.1 KB
/
zshenv
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
# update PATH
# note: 'typeset -U' specifies that only the first occurence of any duplicates should be
# kept in an array variable.
typeset -U PATH path
export PATH=$HOME/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.local/share/gem/ruby/3.2.0/bin:$HOME/go/bin:$HOME/.yarn/bin:$PATH
# environmental variables
export BROWSER=firefox
export EDITOR=nvim
export PAGER=less
export PDFVIEWER=zathura
export SYSTEMD_EDITOR=nvim
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_STATE_HOME="$HOME/.local/state"
if type "moar" > /dev/null; then
export PAGER=$(which moar)
fi
# use system colors for ls
export LS_COLORS="di=34:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"
# LS_COLORS
# export LS_COLORS="$(vivid generate one-dark)"
# java
export JAVA_HOME=/usr/lib/jvm/default
export JAVA_FONTS=/usr/share/fonts/TTF
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
# let ncurses know where to find terminfo
export TERMINFO=~/.terminfo
# remap caps-lock in sway
export XKB_DEFAULT_OPTIONS=caps:escape
# less page colors to use for man pages
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;204m' # begin standout-mode - info/highlight
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[01;32m' # begin underline
# ripgrep
export RIPGREP_CONFIG_PATH="$DOTFILES/ripgreprc"
# python stubs
export MYPYPATH=".config/stubs"
# rofi x proj
export ROFI_PROJ_DIR="$DOTFILES/rofi/rofi-proj"
# perl
PATH="/home/keith/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/home/keith/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/keith/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/keith/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/keith/perl5"; export PERL_MM_OPT;