5818b05d96
- Add user management and Oh My Zsh settings - Update service scripts to use Zsh - Include new packages and environment variables - Modify Terraform configuration for upstream services
21 lines
613 B
Django/Jinja
21 lines
613 B
Django/Jinja
#!/usr/bin/env zsh
|
|
|
|
set -euo pipefail
|
|
|
|
# Suppress ZLE warnings from Oh My Zsh (no TTY in systemd)
|
|
setopt NOZLE 2>/dev/null || true
|
|
|
|
# Override TMPDIR — /tmp is noexec on Fedora, Bun needs an executable temp
|
|
export TMPDIR="{{ linux_dev_station_service_home }}/.cache/tmp"
|
|
mkdir -p "$TMPDIR"
|
|
# Clean stale files older than 7 days
|
|
find "$TMPDIR" -mindepth 1 -atime +7 -delete 2>/dev/null || true
|
|
|
|
{% if linux_dev_station_ssh_agent_enabled | bool %}
|
|
source "{{ linux_dev_station_scripts_dir }}/ssh-agent-start.sh"
|
|
{% endif %}
|
|
|
|
cd {{ linux_dev_station_workspace_dir }}
|
|
|
|
exec {{ linux_dev_station_opencode_command }}
|