27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
export XDG_DATA_HOME="$HOME/.local/share";
|
||
|
export XDG_CONFIG_HOME="$HOME/.config";
|
||
|
export XDG_STATE_HOME="$HOME/.local/state";
|
||
|
export XDG_CACHE_HOME="$HOME/.cache";
|
||
|
source "${XDG_CONFIG_HOME}/user-dirs.dirs";
|
||
|
|
||
|
export EDITOR="nvim"
|
||
|
export GIT_PRETTY="--pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'"
|
||
|
export SSH_KEY_PATH="$HOME/.ssh/id_ed25519"
|
||
|
export PATH="$PATH:$HOME/.local/bin:$HOME/.local/share/scripts:$HOME/go/bin:$XDG_DATA_HOME/cargo/bin:/home/hkc/.platformio/penv/bin"
|
||
|
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||
|
export MANPAGER="less -R --use-color -Dd+r -Du+b"
|
||
|
export GPG_TTY="$(tty)"
|
||
|
export TODO_PATH="$HOME/.local/share/todo.txt"
|
||
|
|
||
|
export HISTFILE="${XDG_STATE_HOME}/bash/history";
|
||
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo;
|
||
|
export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
|
||
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||
|
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
|
||
|
export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose
|
||
|
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||
|
|
||
|
source ~/.config/bash/environ.priv
|