mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 02:24:11 -06:00
feat: add R2 file sharing tool with environment configuration
- Add share.ts CLI tool for uploading files to R2 with clipboard integration - Configure R2 credentials across all shell environments (fish, bash, nushell) - Add shell abbreviations for claude opus and share commands - Refine claude-usage terminology (quota → limit, behind → under)
This commit is contained in:
@@ -70,6 +70,12 @@ $env.MICRO_TRUECOLOR = 1
|
||||
# OpenAI API Key
|
||||
$env.OPENAI_API_KEY = "{{ dopplerProjectJson.OPENAI_CHATGPT_CLI }}"
|
||||
|
||||
# R2 configuration
|
||||
$env.R2_ENDPOINT = "{{ dopplerProjectJson.R2_ENDPOINT }}"
|
||||
$env.R2_ACCESS_KEY_ID = "{{ dopplerProjectJson.R2_ACCESS_KEY_ID }}"
|
||||
$env.R2_SECRET_ACCESS_KEY = "{{ dopplerProjectJson.R2_SECRET_ACCESS_KEY }}"
|
||||
$env.R2_BUCKET = "{{ dopplerProjectJson.R2_BUCKET }}"
|
||||
|
||||
# Initialize PATH as a list for easier manipulation
|
||||
$env.PATH = ($env.PATH | split row (char esep))
|
||||
|
||||
|
||||
@@ -10,6 +10,13 @@ set -gx MICRO_TRUECOLOR 1
|
||||
set -gx TERM xterm-256color # fixes terminal colors when ssh'ing into laptop
|
||||
|
||||
set -gx OPENAI_API_KEY "{{ dopplerProjectJson.OPENAI_CHATGPT_CLI }}"
|
||||
|
||||
# R2 configuration
|
||||
set -gx R2_ENDPOINT "{{ dopplerProjectJson.R2_ENDPOINT }}"
|
||||
set -gx R2_ACCESS_KEY_ID "{{ dopplerProjectJson.R2_ACCESS_KEY_ID }}"
|
||||
set -gx R2_SECRET_ACCESS_KEY "{{ dopplerProjectJson.R2_SECRET_ACCESS_KEY }}"
|
||||
set -gx R2_BUCKET "{{ dopplerProjectJson.R2_BUCKET }}"
|
||||
|
||||
# Tools are organized in priority order (first = highest priority in PATH)
|
||||
# This order matches the Bash config for consistency
|
||||
# Batched for performance - reduces startup time by ~13ms
|
||||
|
||||
@@ -11,6 +11,12 @@ export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop
|
||||
|
||||
export OPENAI_API_KEY="{{ dopplerProjectJson.OPENAI_CHATGPT_CLI }}"
|
||||
|
||||
# R2 configuration
|
||||
export R2_ENDPOINT="{{ dopplerProjectJson.R2_ENDPOINT }}"
|
||||
export R2_ACCESS_KEY_ID="{{ dopplerProjectJson.R2_ACCESS_KEY_ID }}"
|
||||
export R2_SECRET_ACCESS_KEY="{{ dopplerProjectJson.R2_SECRET_ACCESS_KEY }}"
|
||||
export R2_BUCKET="{{ dopplerProjectJson.R2_BUCKET }}"
|
||||
|
||||
# hishtory configuration
|
||||
export HISHTORY_SERVER="https://hsh.{{ dopplerProjectJson.PRIVATE_DOMAIN }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user