-
Notifications
You must be signed in to change notification settings - Fork 0
/
.profile
43 lines (36 loc) · 1.67 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
export TERMINAL=footclient
export XKB_DEFAULT_LAYOUT="latam,latam,us"
export XKB_DEFAULT_VARIANT=",dvorak,"
export XKB_DEFAULT_OPTIONS="grp:win_space_toggle,ctrl:nocaps,grp_led:scroll,keypad:pointerkeys,terminate:ctrl_alt_bksp,compose:ins,compose:prsc"
# Don't clutter $HOME
export GOPATH="${XDG_DATA_HOME:-${HOME}/.local/share}"/go
export CARGO_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}"/cargo
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-${HOME}/.local/share}"/pass
export ZDOTDIR="${XDG_CONFIG_DIR:-${HOME}/.config}/"zsh
export PYTHON_HISTORY="${XDG_DATA_HOME:-${HOME}/.local/share}"/python/history
export EMAIL="leohdz172@proton.me"
export ALTERNATE_EDITOR=""
export EDITOR="emacsclient -t"
export VISUAL="emacsclient -c"
export GOPROXY=direct
export GOSUMDB=off
export CLANGD_FLAGS="-j=9 --clang-tidy --completion-parse=always --include-ineligible-results --malloc-trim --pch-storage=memory --header-insertion=never --background-index --completion-style=detailed"
export PATH="${XDG_CONFIG_HOME:-${HOME}/.config}/emacs/bin/:$PATH"
export EZA_ICONS_AUTO=true
if [ -n "${EPREFIX}" ]; then
export TMPDIR="${EPREFIX}/tmp"
else
if [ -n "${CHOST}" ]; then
CC="${CHOST}-gcc"
CXX="${CHOST}-g++"
else
CC=gcc
CXX=g++
fi
export CC
export CXX
export CFLAGS="-march=native -Og -pipe -Wa,-O2 -flto=auto -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch"
export CXXFLAGS="${CFLAGS}"
export LDFLAGS="-Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O2 -fuse-ld=mold -Wl,--icf=safe"
export RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C codegen-units=1 -C embed-bitcode=yes -C lto=thin -C linker-plugin-lto -C linker-flavor=gcc -C linker=rust-linker-wrapper"
fi