blob: 7dc9b533614be71abdd859d27a44fb43c89010da (
plain)
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
|
# $HOME/.bash_vars: Non-standard file for environment variables agruppation.
###########
# General #
###########
export XDG_CONFIG_HOME="$HOME/.config"
export EDITOR="nvim"
export TERM="rxvt-256color"
export TERMINAL="urxvt"
export BROWSER="qutebrowser"
export READER="zathura"
export VIEWER="sxiv"
export PLANTUML="$HOME/programs/plantUML/plantuml.jar"
export LEDGER_FILE="$HOME/docs/ledger.dat"
export CONFIG_VOL_CHANGE="2"
export CONFIG_BIG_VOL_CHANGE="10"
export CONFIG_BRIGHT_CHANGE="4"
export CONFIG_BIG_BRIGHT_CHANGE="60"
export CONFIG_DIC_ES="/usr/share/dict/spanish"
export CONFIG_DIC_EN="/usr/share/dict/british"
export CONFIG_DIC_PL="/usr/share/dict/słowa.txt"
export CONFIG_FOLDER_RANDOMBG="$HOME/images/wallpapers/shufs/current"
export CONFIG_FOLDER_LOGS="$HOME/logs"
export CONFIG_WIFI_DEV="wlp2s0"
export CONFIG_ETH_DEV=""
export CONFIG_BATTERY="BAT1"
export CONFIG_SENSORS_TEMP_REGEX="^Package"
export CONFIG_SENSORS_TEMP_COL="4"
export CONFIG_FOLDER_DISROOT_INBOX="$HOME/.mail/disroot/INBOX/new"
export CONFIG_FOLDER_GMAIL_INBOX="$HOME/.mail/gmail/[Gmail]/INBOX/new"
export CONFIG_FOLDER_UNIOVI_INBOX="$HOME/.mail/uniovi/INBOX/new"
# export ARDUINO_DIR="/usr/share/arduino"
# export ARDMK_DIR="/usr/share/arduino"
# export AVR_TOOLS_DIR="/usr"
# Colors for grep
export GREP_COLORS='ms=04;32;49:mc=04;32;49:sl=:cx=:fn=01;34;49:ln=34:bn=34:se=36'
# Colors for gcc
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Colors for less
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$(tput bold; tput setaf 14)
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_so=$(tput setab 2; tput setaf 0)
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_us=$(tput smul; tput setaf 3)
export LESS_TERMCAP_ue=$'\E[0m'
#########
# $PATH #
#########
# java
export JAVA_HOME="/usr/lib/jvm/default/"
PATH="${PATH}:${JAVA_HOME}/bin"
# add scripts folder to path plus its direct subfolders
for dir in $(find "$HOME/scripts" -type d | grep -v '/\.'); do
PATH="${PATH}:${dir}"
done
# add ruby bins (gems) folder to path
PATH="${PATH}:$(ruby -e 'puts Gem.user_dir')/bin"
# add cargo bins folder to path
PATH="${PATH}:${HOME}/.cargo/bin"
# add pip local bins to path
PATH="${PATH}:${HOME}/.local/bin"
# export final PATH
export PATH
|