config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 106c00be3c6c864d221e300ad219ab07939eaaae
parent 4ac6d8ec6dc91d1cf3539dda0453bd6db3d0fac7
Author: dwrz <dwrz@dwrz.net>
Date:   Tue,  6 Dec 2022 19:44:17 +0000

Add profile

Diffstat:
Aprofile | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/profile b/profile @@ -0,0 +1,32 @@ +export XDG_CONFIG_HOME="${HOME}/.config" + +export EDITOR="emacsclient -t --alternate-editor mg" +export GCC_COLORS="error=01;31:warning=01;35:note=01;36:caret=0$" +export GOPATH="${HOME}/.local/share/go" +export GTK_IM_MODULE="fcitx" +export GTK2_RC_FILES="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc" +export HISTCONTROL="ignoredups:ignorespace:erasedups" +export HISTFILESIZE= +export HISTSIZE= +export HISTTIMEFORMAT='%Y-%m-%dT%H:%M:%S%z ' +export INPUTRC="${XDG_CONFIG_HOME}/readline/inputrc" +export LESSHISTFILE="${XDG_CONFIG_HOME}/less/history" +export NVM_DIR="${HOME}/.local/share/nvm" +export PASSWORD_STORE_DIR="${XDG_CONFIG_HOME}/pass" +export QT_IM_MODULE="fcitx" +export TERMINAL="st" +export VISUAL="emacsclient -c --alternate-editor mg" +export XMODIFIERS=@im="fcitx" +export XMODMAP="${XDG_CONFIG_HOME}/X11/xmodmap" +export npm_config_prefix="${HOME}/.local/share/node_modules" + +# PATH +PATH="${GOPATH}/bin:$PATH" +PATH="${HOME}/.local/bin:$PATH" +PATH="${HOME}/local/share/node_modules/bin:$PATH" +export PATH + +# Setup systemd user PATH. +if [ -x "$(command -v systemctl)" ]; then + systemctl --user import-environment PASSWORD_STORE_DIR PATH XDG_CONFIG_HOME +fi