forked from alfunx/.dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.profile
93 lines (72 loc) · 2.13 KB
/
.profile
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
###########
# LOCAL #
###########
[[ -f ~/.local.profile ]] && \
source ~/.local.profile
###################
# ENV VARIABLES #
###################
# lua
export PATH="$HOME/.luarocks/bin:$PATH"
# python
#export PYTHONSTARTUP="$HOME/.pythonrc.py"
# ruby
export PATH="$HOME/.gem/ruby/2.5.0/bin:$PATH"
export PATH="$HOME/.gem/ruby/2.6.0/bin:$PATH"
# java
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
export PATH="$JAVA_HOME/bin:$PATH"
# user scripts
export PATH="$HOME/.bin:$PATH"
# Discurses, coverage etc.
export PATH="$PATH:$HOME/.local/bin"
# go
export PATH="$HOME/go/bin:$PATH"
# terminal emulator
export TERMINAL='kitty'
# editor
export VISUAL='vim'
export EDITOR='vim'
# ripgrep
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/ripgreprc"
# aurutils
export AUR_REPO='aur'
export AUR_PAGER='ranger'
# makeflags
export MAKEFLAGS="-j$(nproc)"
# man / less colors
export LESS_TERMCAP_mb=$'\e[1;31m'
export LESS_TERMCAP_md=$'\e[1;34m'
export LESS_TERMCAP_me=$'\e[0m'
#export LESS_TERMCAP_so=$'\e[30;48;5;208m'
export LESS_TERMCAP_so=$'\e[38;5;208;48;5;239m'
export LESS_TERMCAP_se=$'\e[39;49m'
export LESS_TERMCAP_us=$'\e[4;96m'
export LESS_TERMCAP_ue=$'\e[0m'
export MANLESS=" [1m\$MAN_PN[0m${LESS_TERMCAP_so} ?ltline %lt?L/%L.:byte %bB?s/%s..?pB %pB\%. "
export MANROFFOPT='-c'
export LESS='-iMRSj.5'
export SYSTEMD_LESS="$LESS"
# man / less colors (using tput)
#export LESS_TERMCAP_mb=$(tput bold; tput setaf 2)
#export LESS_TERMCAP_md=$(tput bold; tput setaf 4)
#export LESS_TERMCAP_me=$(tput sgr0)
#export LESS_TERMCAP_so=$(tput bold; tput setaf 0; tput setab 11)
#export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
#export LESS_TERMCAP_us=$(tput smul; tput setaf 14)
#export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
#export LESS_TERMCAP_mr=$(tput rev)
#export LESS_TERMCAP_mh=$(tput dim)
#export MANROFFOPT='-c'
#export LESS='-iMRj.3'
# man width
#MAN_MAX_WIDTH='105'
#export MANWIDTH=$(tput cols)
#[ "$MANWIDTH" -gt "$MAN_MAX_WIDTH" ] && export MANWIDTH=$MAN_MAX_WIDTH
# gpg (for Github)
export GPG_TTY="$(tty)"
# qt theme
export QT_QPA_PLATFORMTHEME="qt5ct"
# hledger
export LEDGER_PATH="$HOME/notes"
export LEDGER_FILE="$LEDGER_PATH/current.journal"