File size: 1,772 Bytes
a8a1280 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | export android_ndk_path="/data/data/com.termux/files/usr/share/android-ndk"
# ============================================
# FIX PASTE - Removes unwanted line breaks from pasted commands
# Usage: fp "your pasted command here"
# Or: fixpaste "your pasted command"
# ============================================
fp() { # Join lines, collapse multiple spaces, trim
local cmd=$(echo "$*" | tr '\n' ' ' | sed 's/ */ /g' | sed 's/^ *//;s/ *$//')
echo "Fixed command:"
echo "$cmd"
echo ""
read -p "Run it? [Y/n] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]] || [[ -z $REPLY ]]; then
eval "$cmd"
fi
}
alias fixpaste='fp'
# Alternative: Auto-fix when pasting with Ctrl+Shift+V
# Bind paste to fix function (experimental)
bind '"\C-v": "\C-a\C-kfp \"\C-y\"\C-m"' 2>/dev/null
# Quick fix - just echoes the fixed command (copy it)
qf() {
echo "$*" | tr '\n' ' ' | sed 's/ */ /g' | sed 's/^ *//;s/ *$//'
}
# Run fixed - fixes and runs immediately (no prompt)
rf() {
local cmd=$(echo "$*" | tr '\n' ' ' | sed 's/ */ /g' | sed 's/^ *//;s/ *$//')
eval "$cmd"
}
export CLAUDE_CODE_DISABLE_TELEMETRY=1
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
# Created by `pipx` on 2026-01-30 05:58:13
export PATH="$PATH:/data/data/com.termux/files/home/.local/bin"
export SPF_BRAIN_DIR=~/SPFsmartGATE/LIVE/TMP/stoneshell-brain
export NODE_OPTIONS="--max-old-space-size=6144"
export OPENROUTER_API_KEY="nvapi-xV5n0lm-YOUR-API-KEY-HERE-8xxSDOdB"
export ANTHROPIC_BASE_URL="https://integrate.api.nvidia.com/v1"
export ANTHROPIC_AUTH_TOKEN="$OPENROUTER_API_KEY"
export ANTHROPIC_API_KEY="" |