config

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

commit c8e30c2004b25f859ed6e7046ed8aa7d62c05282
parent 217e30ebffe85feb53acd1742b5b744092aa737c
Author: dwrz <dwrz@dwrz.net>
Date:   Sat,  6 Apr 2024 20:00:51 +0000

Update profile

Diffstat:
Mprofile | 24++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/profile b/profile @@ -1,38 +1,42 @@ export XDG_CONFIG_HOME="${HOME}/.config" +export XDG_DATA_HOME="${HOME}/.local/share" -export AWS_CONFIG_FILE="$XDG_CONFIG_HOME/aws/config" -export AWS_CLI_HISTORY_FILE="$XDG_DATA_HOME/aws/history" -export AWS_CREDENTIALS_FILE="$XDG_DATA_HOME/aws/credentials" +export AWS_CLI_HISTORY_FILE="${XDG_DATA_HOME}/aws/history" +export AWS_CONFIG_FILE="${XDG_CONFIG_HOME}/aws/config" +export AWS_CREDENTIALS_FILE="${XDG_DATA_HOME}/aws/credentials" 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 GOPATH="${XDG_DATA_HOME}/go" export GTK2_RC_FILES="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc" +export GTK_IM_MODULE="fcitx" 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 NVM_DIR="${XDG_DATA_HOME}/nvm" export PASSWORD_STORE_DIR="${XDG_CONFIG_HOME}/pass" export QT_IM_MODULE="fcitx" +export STARDICT_DATA_DIR=${XDG_DATA_HOME} 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" +export npm_config_prefix="${XDG_DATA_HOME}/node_modules" # PATH PATH="${GOPATH}/bin:${PATH}" PATH="${HOME}/.local/bin:${PATH}" -PATH="${HOME}/local/share/node_modules/bin:${PATH}" +PATH="${XDG_DATA_HOME}/node_modules/bin:${PATH}" export PATH # Setup systemd user PATH. if [ -x "$(command -v systemctl)" ]; then - systemctl --user import-environment GOPATH \ + systemctl --user import-environment \ + GOPATH \ PASSWORD_STORE_DIR \ PATH \ - XDG_CONFIG_HOME + XDG_CONFIG_HOME \ + XDG_DATA_HOME fi