fix: use /usr/bin/env shebangs for portability across systems
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Auto-format Rust code before commits
|
||||
# Hook: PreToolUse for git commit
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# rtk-hook-version: 3
|
||||
# RTK auto-rewrite hook for Claude Code PreToolUse:Bash
|
||||
# Transparently rewrites raw commands to their RTK equivalents.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# RTK suggest hook for Claude Code PreToolUse:Bash
|
||||
# Emits system reminders when rtk-compatible commands are detected.
|
||||
# Outputs JSON with systemMessage to inform Claude Code without modifying execution.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test suite for rtk-rewrite.sh
|
||||
# Feeds mock JSON through the hook and verifies the rewritten commands.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
# rtk installer - https://github.com/rtk-ai/rtk
|
||||
# Usage: curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# Use local release build if available, otherwise fall back to installed rtk
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# RTK Installation Verification Script
|
||||
# Helps diagnose if you have the correct rtk (Token Killer) installed
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Install RTK from a local release build (builds from source, no network download).
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# rtk-economics.sh
|
||||
# Combine ccusage (tokens spent) with rtk (tokens saved) for economic analysis
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
REPORT="benchmark-report.md"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "🔍 Validating RTK documentation consistency..."
|
||||
|
||||
Reference in New Issue
Block a user