From dcd23fb1d601dde071c2ec67272dfdd8fc3c2fc3 Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Fri, 28 Aug 2026 21:05:07 -0400 Subject: [PATCH] Lots of tweaks --- .config/ghostty/config.ghostty | 3 +++ .config/opencode/opencode.jsonc | 45 +++++++++++++++++++++++++++++++++ .config/opencode/tui.json | 9 +++++++ .config/tmux/tmux.conf | 10 ++++++++ .config/zsh/.zshrc | 24 +++++++++++++++++- .ssh/config | 6 +++-- 6 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 .config/ghostty/config.ghostty create mode 100644 .config/opencode/opencode.jsonc create mode 100644 .config/opencode/tui.json diff --git a/.config/ghostty/config.ghostty b/.config/ghostty/config.ghostty new file mode 100644 index 0000000..c47babe --- /dev/null +++ b/.config/ghostty/config.ghostty @@ -0,0 +1,3 @@ +link-url = true +link-previews = true +shell-integration-features = ssh-terminfo \ No newline at end of file diff --git a/.config/opencode/opencode.jsonc b/.config/opencode/opencode.jsonc new file mode 100644 index 0000000..74368d8 --- /dev/null +++ b/.config/opencode/opencode.jsonc @@ -0,0 +1,45 @@ +{ + "$schema": "https://opencode.ai/config.json", + "small_model": "opencode/big-pickle", + "plugin": [ + "@dietrichgebert/ponytail", + "@simonwjackson/opencode-direnv", + //"opencode-handoff", + //"@sillybit/opencode-plugin-everynotify", + "@prevalentware/opencode-goal-plugin", + //"opencode-models-discovery@latest" + ], + "permission": { + "lsp": "allow", + "webfetch": "allow", + "websearch": "allow" + }, + "mcp": { + "chrome-devtools": { + "type": "local", + "command": ["npx", "-y", "chrome-devtools-mcp@latest", "--slim", "--headless"], + "enabled": false, + }, + "rerun": { + "command": "rerun", + "args": ["viewer-mcp"], + "env": { + "RUST_LOG": "re_viewer_mcp=info,warn" + }, + "enabled": false, + } + }, + "provider": { + "lemonade": { + "npm": "@ai-sdk/openai-compatible", + "name": "lemonade", + "options": { + "baseURL": "http://127.0.0.1:13305/v1", + //"apiKey": "Rz6mPpPJY76Zxqwi4SYBZu8AVmVutW6r" + "modelsDiscovery": { + "enabled": true + } + }, + }, + } +} diff --git a/.config/opencode/tui.json b/.config/opencode/tui.json new file mode 100644 index 0000000..b822ca8 --- /dev/null +++ b/.config/opencode/tui.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://opencode.ai/tui.json", + "theme": "one-dark", + "scroll_speed": 3, + "scroll_acceleration": { + "enabled": true + }, + "diff_style": "auto" +} \ No newline at end of file diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 36ab71f..b8a9769 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -3,6 +3,16 @@ set -g default-terminal "tmux-256color" set -ag terminal-overrides ",xterm-256color:RGB" +# fix for ctrl enter gobbling +# https://pi.dev/docs/latest/tmux +set -g extended-keys on +set -g extended-keys-format csi-u +set -as terminal-features 'xterm-ghostty:extkeys' +# bind -n S-Enter send-keys Escape "[13;2u" + +# change cursor +set -g cursor-style blinking-bar + # keep current path in new window bind c new-window -c "#{pane_current_path}" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 3664791..0e879d6 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -38,12 +38,15 @@ if [ -d /usr/share/doc/fzf ]; then source /usr/share/doc/fzf/examples/key-bindings.zsh fi +export PATH="/home/contagon/.rbenv/bin:${PATH}" +eval "$(~/.rbenv/bin/rbenv init - --no-rehash zsh)" + # pushover push function push { curl -s -F "token=akqmpnoru464pps3g1123pszrpqzyk" \ -F "user=ugixb16u6s9bicq1ezcnmkxfrje8b6" \ -F "title=Command Finished" \ - -F "message=$1 Return value: $?" https://api.pushover.net/1/messages.json + -F "message=$1 \n\nReturn value: $?" https://api.pushover.net/1/messages.json } # ----------------- Replacement for standard tools ----------------- # @@ -87,3 +90,22 @@ fi # To customize prompt, run `p10k configure` or edit ~/.zsh/.p10k.zsh. [[ ! -f "$ZDOTDIR/.p10k.zsh" ]] || source $ZDOTDIR/.p10k.zsh + +# pnpm +# export PNPM_HOME="/home/contagon/.local/share/pnpm" +# case ":$PATH:" in +# *":$PNPM_HOME:"*) ;; +# *) export PATH="$PNPM_HOME:$PATH" ;; +# esac +# # pnpm end + + + +# bun completions +[ -s "/home/contagon/.bun/_bun" ] && source "/home/contagon/.bun/_bun" + +# opencode +# export PATH=/home/contagon/.opencode/bin:$PATH + +# Pi +export PATH="/home/contagon/.local/share/fnm/node-versions/v24.19.0/installation/bin:$PATH" diff --git a/.ssh/config b/.ssh/config index 984cd0b..5781fd3 100644 --- a/.ssh/config +++ b/.ssh/config @@ -42,8 +42,10 @@ Host nrec HostName atr-share.rec.ri.cmu.edu User epotokar -Host aqua - ProxyJump work +Host aqua_nas HostName 192.168.42.2 User easton +Host aqua + HostName 192.168.42.3 + User easton