b62c2476da
- Add _smart_execute: context-aware Ctrl+Enter that routes to qalc when the buffer ends with '=', or falls through to standard execute otherwise - Refactor qalc_eval → _qalc_eval (private helper, same behavior) - Bind Ctrl+Enter to _smart_execute in all vi modes - Add fast-cli wrapper (fast.com speed test) and fast placeholder with a friendly ANSI redirect message - Add speedtest-fast abbreviation expanding to fast-cli - Enhance _replace_command_token to handle sudo-prefixed commands: places cursor at index 5 (between sudo and the replacement slot) - Improve rm error reporting: colored output, culprit-path listing, and cleaned technical detail for non-missing-file errors - Add SPDX copyright headers to cat, ld, claude-docs, claude-pr functions - Update README: Ctrl+Enter binding, fast-cli/fast functions, speedtest-fast abbr
8 lines
695 B
Fish
8 lines
695 B
Fish
# Copyright (C) 2026 Rootiest
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
# Create a new git branch, commit, push, and PR using Claude-code
|
|
function claude-pr --description 'Claude-code: New branch, commit, push, and PR'
|
|
claude "Act as a senior engineer. Execute this sequence: 1. Create a new git branch (kebab-case). 2. Stage changes and write a Conventional Commit message. 3. Self-verify the changes by running relevant build/test commands or linting. 4. Push to remote. 5. Create a PR to 'main' including a summary of changes and a 'Manual Verification' section containing a Markdown checklist (- [ ]) of specific, bite-sized steps required to manually verify the functionality."
|
|
end
|