.zprofile 352 B

1234567891011121314
  1. # === Zsh Profile Configuration ===
  2. # This file is sourced for login shells
  3. # Source environment configuration (includes GPG setup)
  4. source ~/.config/env
  5. # Set ZDOTDIR if not already set
  6. export ZDOTDIR=${ZDOTDIR:-~/.config/zsh}
  7. # Auto-start Sway on first virtual terminal
  8. if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
  9. exec sway
  10. fi