12 lines
461 B
Bash
12 lines
461 B
Bash
|
|
#!/bin/bash
|
||
|
|
# gstack-env.sh — Set environment variables for gstack-opencode
|
||
|
|
# Source this file to set up the environment:
|
||
|
|
# source ~/gstack-opencode/bin/gstack-env.sh
|
||
|
|
|
||
|
|
export GSTACK_OPENCODE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||
|
|
export GSTACK_BROWSE="${GSTACK_OPENCODE_DIR}/browse/dist/browse"
|
||
|
|
export PATH="${GSTACK_OPENCODE_DIR}/bin:$PATH"
|
||
|
|
|
||
|
|
# Create ~/.gstack directory if it doesn't exist
|
||
|
|
mkdir -p ~/.gstack/{sessions,projects,analytics}
|