stash/stash

15 lines
500 B
Bash
Executable File

#!/bin/bash
# Stash - Enhanced symlink management utility
# Wrapper script that sets up the proper Guile load path
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Set up Guile load path to include both project root and modules directory
export GUILE_LOAD_PATH="$SCRIPT_DIR:$SCRIPT_DIR/modules:$GUILE_LOAD_PATH"
export GUILE_AUTO_COMPILE=0
# Run the modular stash.scm with proper module loading
exec guile "$SCRIPT_DIR/stash.scm" "$@"