summaryrefslogtreecommitdiff
path: root/shell/zprofile
diff options
context:
space:
mode:
authorJoshua Yun <joshua@joshuayun.com>2025-05-19 23:10:06 -0500
committerJoshua Yun <joshua@joshuayun.com>2025-05-19 23:10:06 -0500
commit9b857f87d56197457bfce4d1a1474c79bf3f91d2 (patch)
tree58392b09aa9cbe19213f1dd467e30993986d285c /shell/zprofile
downloadconfig-9b857f87d56197457bfce4d1a1474c79bf3f91d2.tar.gz
feat: added initial commit of config files
Diffstat (limited to 'shell/zprofile')
-rw-r--r--shell/zprofile12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/zprofile b/shell/zprofile
new file mode 100644
index 0000000..5cff05c
--- /dev/null
+++ b/shell/zprofile
@@ -0,0 +1,12 @@
+# Rust binaries
+export PATH=$PATH:$HOME/.cargo/bin/
+
+# Local binaries / scripts
+export PATH=$PATH:$HOME/.local/bin
+
+# zshrc directory
+export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
+
+[[ -f ~/.zshrc ]] && . ~/.zshrc
+
+[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Hyprland >/dev/null 2>&1 && exec Hyprland