summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:43:59 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:43:59 +0400
commit5615583a87a625764a0941b19e6629127851b881 (patch)
tree1d26c1d46a6ed6b262e874ee5396d20dccf50a5c /config
parenta9dee19196765311d0d8878aaa20e480cb1c88d5 (diff)
parent75911c83ea3b8123093071574746d2bbdadb2653 (diff)
Merge branch 'dev'
Diffstat (limited to 'config')
-rw-r--r--config/shell/profile26
1 files changed, 13 insertions, 13 deletions
diff --git a/config/shell/profile b/config/shell/profile
index 9125131..c12de58 100644
--- a/config/shell/profile
+++ b/config/shell/profile
@@ -1,25 +1,25 @@
# 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="$XDG_CONFIG_HOME/zsh/zshrc"
-export BASHRC="$HOME/.bashrc"
+export BASHRC="${HOME}/.bashrc"
+export ZSHRC="${HOME}/.zshrc"
+export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc"
+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"
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"
[ -x "$(command -v nvim)" ] && export EDITOR="nvim"
-[ -x "$(command -v alacritty)" ] && export TERMINAL="alacritty"
-[ -x "$(command -v st)" ] && export TERMINAL="st"
+[ -x "$(command -v alacritty)" ] && export TERM="alacritty"
+[ -x "$(command -v st)" ] && export TERM="st"
[ -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}"