diff options
author | sinanmohd <sinan@firemail.cc> | 2023-04-04 08:07:11 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-04-04 08:12:44 +0530 |
commit | 2156a6726c577323162b5b42744cc1bd67efb2ac (patch) | |
tree | 71f1c35a1b700a64d84eb745432c1744f612e54d /.profile | |
parent | c1a7fd7bc4fb76589cb843af68d7b5a2d15023ad (diff) |
sh: clean: uniform shell expansion syntax
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -1,16 +1,16 @@ #!/bin/sh # user directories -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" -export XDG_DESKTOP_DIR="$HOME" -export XDG_DOWNLOAD_DIR="$HOME/dl" -export XDG_DOCUMENTS_DIR="$HOME/doc" -export XDG_PICTURES_DIR="$HOME/pix" -export XDG_MUSIC_DIR="$HOME/ms" -export XDG_VIDEOS_DIR="$HOME/vid" +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" +export XDG_DESKTOP_DIR="${HOME}" +export XDG_DOWNLOAD_DIR="${HOME}/dl" +export XDG_DOCUMENTS_DIR="${HOME}/doc" +export XDG_PICTURES_DIR="${HOME}/pix" +export XDG_MUSIC_DIR="${HOME}/ms" +export XDG_VIDEOS_DIR="${HOME}/vid" export GOPATH="${HOME}/.cache/go" # user programs @@ -22,15 +22,15 @@ export SUDO_ASKPASS="${HOME}/.local/bin/sds/daskpass" export QT_QPA_PLATFORMTHEME=qt5ct # $HOME clean up -export ANDROID_HOME="$XDG_DATA_HOME"/android -export HISTFILE="${XDG_STATE_HOME}"/shell/history -export CARGO_HOME="$XDG_DATA_HOME"/cargo -export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nvidia -export GNUPGHOME="$XDG_DATA_HOME"/gnupg -export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc -export LESSHISTFILE="$XDG_STATE_HOME"/less/history -export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass -export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc +export ANDROID_HOME="${XDG_DATA_HOME}/android" +export HISTFILE="${XDG_STATE_HOME}/shell/history" +export CARGO_HOME="${XDG_DATA_HOME}/cargo" +export CUDA_CACHE_PATH="${XDG_CACHE_HOME}/nvidia" +export GNUPGHOME="${XDG_DATA_HOME}/gnupg" +export GTK2_RC_FILES="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc" +export LESSHISTFILE="${XDG_STATE_HOME}/less/history" +export PASSWORD_STORE_DIR="${XDG_DATA_HOME}/pass" +export MBSYNCRC="${XDG_CONFIG_HOME}/isync/mbsyncrc" # etc export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.local/bin/sb:${HOME}/.local/bin/sds" |