summaryrefslogtreecommitdiff
path: root/config/shell/profile
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-10 14:53:52 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-10 14:53:52 +0400
commit6f73838b912b00f3ad620a3cd73b8506d018c6e8 (patch)
tree3953593dcc7936ecbc12727a2a855b1291b78243 /config/shell/profile
parent0dc5ec782f48bf7de3727a61a65e5a09c864eea5 (diff)
shell profile updated
Diffstat (limited to 'config/shell/profile')
-rw-r--r--config/shell/profile15
1 files changed, 9 insertions, 6 deletions
diff --git a/config/shell/profile b/config/shell/profile
index 40fef77..640b2f4 100644
--- a/config/shell/profile
+++ b/config/shell/profile
@@ -1,10 +1,11 @@
#Directories
-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 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 XDG_BIN_DIR="$HOME/.local/bin"
# Environment variables
@@ -20,3 +21,5 @@ export MAKEFLAGS="-j8" # Reduce compile times
lfcd () {
cd "$(command lf -print-last-dir "$@")"
}
+
+[ mkdir -p XDG_BIN_DIR ] && PATH="${XDG_BIN_DIR}":$PATH