-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
executable file
·48 lines (44 loc) · 1.31 KB
/
.bash_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
# Source bashrc
if [[ -f ~/.bashrc ]]; then
. ~/.bashrc
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# Source aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Uncruft home
export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0"
export GNUPGHOME="$HOME/.config/gnupg"
export WINEPREFIX="$HOME/.local/wine0"
# Java font rendering
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
# Wine
export WINEARCH="win32"
# Set cursor theme
export XCURSOR_THEME="breeze_cursors"
export XCURSOR_SIZE="32"
# VAAPI / VDPAU
export VAAPI_MPEG4_ENABLED="true"
export VDPAU_DRIVER="va_gl"
# Set qt theme engine
export QT_QPA_PLATFORMTHEME="gtk2"
# Default text editor
export EDITOR="nano"
# colored GCC warnings and errors
export GCC_COLORS="error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01"
# Generic compile options,
# please set march accordingly otherwise use generic / native.
export COMMON_FLAGS="-march=native -mtune=native -O2 -pipe"
export CFLAGS="${COMMON_FLAGS}"
export CXXFLAGS="${COMMON_FLAGS}"
export FCFLAGS="${COMMON_FLAGS}"
export FFLAGS="${COMMON_FLAGS}"
export MAKEFLAGS="-j$(nproc)"
# Auto start Xorg on tty1
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi