summaryrefslogtreecommitdiff
path: root/config/shell/profile
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:37:01 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:37:01 +0400
commitc6f13886d3dfe6c0fd483cb0fbb179a98dc85020 (patch)
tree6cca658168ad55500ccdbee456d122e9a3fe8fc5 /config/shell/profile
parent6064f3172e3f56f6fc6563d7ec334b42e8ae94a7 (diff)
fix(profile): export path variable
- Use ${HOME} syntax instead of $HOME. - Quote $PATH variable.
Diffstat (limited to 'config/shell/profile')
-rw-r--r--config/shell/profile22
1 files changed, 11 insertions, 11 deletions
diff --git a/config/shell/profile b/config/shell/profile
index cb881cd..4ee9679 100644
--- a/config/shell/profile
+++ b/config/shell/profile
@@ -1,15 +1,15 @@
# Directories and Files
-export XDG_BIN_DIR="$HOME/.local/bin"
-export XDG_CACHE_HOME="$HOME/.cache"
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_DATA_HOME="$HOME/.local/share"
-export XDG_STATE_HOME="$HOME/.local/state"
-export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
-export ZSHRC="$HOME/.zshrc"
-export BASHRC="$HOME/.bashrc"
+export XDG_BIN_DIR="${HOME}/.local/bin"
+export XDG_CACHE_HOME="${HOME}/.cache"
+export XDG_CONFIG_HOME="${HOME}/.config"
+export XDG_DATA_HOME="${HOME}/.local/share"
+export XDG_STATE_HOME="${HOME}/.local/state"
+export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc"
+export ZSHRC="${HOME}/.zshrc"
+export BASHRC="${HOME}/.bashrc"
mkdir -p "${XDG_BIN_DIR}"
-PATH="${XDG_BIN_DIR}":$PATH
+export PATH="${XDG_BIN_DIR}:${PATH}"
# Environment variables
[ -x "$(command -v vim)" ] && export EDITOR="vim"
@@ -19,7 +19,7 @@ PATH="${XDG_BIN_DIR}":$PATH
[ -x "$(command -v qutebrowser)" ] && export BROWSER="qutebrowser"
[ -x "$(command -v firefox)" ] && export BROWSER="firefox"
-export MAKEFLAGS="-j8" # Reduce compile times
+export MAKEFLAGS="-j8" # Reduce compile times
# Source bashrc for tty
-[ -n "$BASH_VERSION" ] && [ -f "${BASHRC}" ] && . "${BASHRC}"
+[ -n "${BASH_VERSION}" ] && [ -f "${BASHRC}" ] && . "${BASHRC}"