mirror of
https://github.com/thegeneralist01/config.git
synced 2026-07-22 03:15:27 +02:00
Compare commits
No commits in common. "42d69a769e1a258074372078f17f3e1380ea21b6" and "937fe2585e779b161b597a6030c347606a5af949" have entirely different histories.
42d69a769e
...
937fe2585e
5 changed files with 0 additions and 274 deletions
|
|
@ -68,15 +68,12 @@ in
|
||||||
home.sessionVariables.PNPM_HOME =
|
home.sessionVariables.PNPM_HOME =
|
||||||
if config.isDarwin then "$HOME/Library/pnpm" else "$HOME/.local/share/pnpm";
|
if config.isDarwin then "$HOME/Library/pnpm" else "$HOME/.local/share/pnpm";
|
||||||
|
|
||||||
home.sessionVariables.BUN_INSTALL = "$HOME/.bun";
|
|
||||||
|
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
"node_modules/.bin"
|
"node_modules/.bin"
|
||||||
"/opt/homebrew/bin"
|
"/opt/homebrew/bin"
|
||||||
"/opt/homebrew/opt"
|
"/opt/homebrew/opt"
|
||||||
"$HOME/.npm-packages/bin"
|
"$HOME/.npm-packages/bin"
|
||||||
"$PNPM_HOME"
|
"$PNPM_HOME"
|
||||||
"$BUN_INSTALL/bin"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -67,10 +67,6 @@ in
|
||||||
config.environment.shellAliases // { ls = "ls"; };
|
config.environment.shellAliases // { ls = "ls"; };
|
||||||
|
|
||||||
configFile.text = readFile ./0_nushell.nu;
|
configFile.text = readFile ./0_nushell.nu;
|
||||||
|
|
||||||
extraConfig = /* nu */ ''
|
|
||||||
use ${pkgs.writeTextDir "omp-completions.nu" (readFile ./omp-completions.nu)}/omp-completions.nu *
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -204,9 +204,6 @@ in
|
||||||
if set -q GHOSTTY_RESOURCES_DIR
|
if set -q GHOSTTY_RESOURCES_DIR
|
||||||
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish" 2>/dev/null
|
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish" 2>/dev/null
|
||||||
end
|
end
|
||||||
if command -sq omp
|
|
||||||
omp completions fish | source
|
|
||||||
end
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
functions = {
|
functions = {
|
||||||
|
|
@ -228,16 +225,6 @@ in
|
||||||
export SHELL='${nuExe}'
|
export SHELL='${nuExe}'
|
||||||
exec "$SHELL"
|
exec "$SHELL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v omp &>/dev/null; then
|
|
||||||
eval "$(omp completions zsh)"
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
|
|
||||||
programs.bash.initExtra = ''
|
|
||||||
if command -v omp &>/dev/null; then
|
|
||||||
eval "$(omp completions bash)"
|
|
||||||
fi
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,235 +0,0 @@
|
||||||
# omp nushell completions
|
|
||||||
|
|
||||||
def omp-subcommands [] {
|
|
||||||
[
|
|
||||||
[value description];
|
|
||||||
["acp" "Run Oh My Pi as an ACP server over stdio"]
|
|
||||||
["agents" "Manage bundled task agents"]
|
|
||||||
["auth-broker" "Manage the omp auth-broker (credential vault)"]
|
|
||||||
["auth-gateway" "Run an auth-gateway forward proxy backed by the configured broker"]
|
|
||||||
["commit" "Generate a commit message and update changelogs"]
|
|
||||||
["completions" "Print a shell completion script (bash, zsh, or fish)"]
|
|
||||||
["config" "Manage configuration settings"]
|
|
||||||
["grievances" "View, clean, or push reported tool issues"]
|
|
||||||
["install" "Install or link an extension package"]
|
|
||||||
["plugin" "Manage plugins (install, uninstall, list, etc.)"]
|
|
||||||
["read" "Show what the read tool will return for a path or URL"]
|
|
||||||
["search" "Test web search providers"]
|
|
||||||
["setup" "Run onboarding setup or install dependencies"]
|
|
||||||
["shell" "Interactive shell console"]
|
|
||||||
["ssh" "Manage SSH host configurations"]
|
|
||||||
["stats" "View usage statistics"]
|
|
||||||
["tiny-models" "Download tiny local models"]
|
|
||||||
["update" "Check for and install updates"]
|
|
||||||
["usage" "Show provider usage limits for every authenticated account"]
|
|
||||||
["worktree" "List or clear agent-managed git worktrees"]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
export extern "omp" [
|
|
||||||
...messages: string # Messages to send (prefix files with @)
|
|
||||||
--model: string # Model to use
|
|
||||||
--smol: string # Smol/fast model
|
|
||||||
--slow: string # Slow/reasoning model
|
|
||||||
--plan: string # Plan model
|
|
||||||
--provider: string # Provider to use
|
|
||||||
--api-key: string # API key
|
|
||||||
--system-prompt: string # System prompt
|
|
||||||
--append-system-prompt: string # Append to system prompt
|
|
||||||
--allow-home # Allow starting in ~ without auto-switching
|
|
||||||
--cwd: string # Directory to start in
|
|
||||||
--mode: string@omp-complete-mode # Output mode
|
|
||||||
--config: string # Load an extra config overlay
|
|
||||||
--print(-p) # Non-interactive: process and exit
|
|
||||||
--continue(-c) # Continue previous session
|
|
||||||
--resume(-r): string # Resume a session
|
|
||||||
--session-dir: string # Directory for session storage
|
|
||||||
--no-session # Don't save session
|
|
||||||
--models: string # Comma-separated models for cycling
|
|
||||||
--no-tools # Disable all built-in tools
|
|
||||||
--no-lsp # Disable LSP tools
|
|
||||||
--no-pty # Disable PTY-based bash execution
|
|
||||||
--tools: string # Tools to enable
|
|
||||||
--thinking: string@omp-complete-thinking # Thinking level
|
|
||||||
--hide-thinking # Hide thinking blocks
|
|
||||||
--hook: string # Load a hook/extension file
|
|
||||||
--extension(-e): string # Load an extension file
|
|
||||||
--no-extensions # Disable extension discovery
|
|
||||||
--no-skills # Disable skills discovery
|
|
||||||
--skills: string # Glob patterns to filter skills
|
|
||||||
--no-rules # Disable rules discovery
|
|
||||||
--export: string # Export session to HTML and exit
|
|
||||||
--list-models: string # List available models
|
|
||||||
--no-title # Disable title auto-generation
|
|
||||||
--auto-approve # Auto-approve all tool calls
|
|
||||||
--approval-mode: string@omp-complete-approval-mode # Override approval mode
|
|
||||||
]
|
|
||||||
|
|
||||||
def omp-complete-mode [] { ["text" "json" "rpc" "rpc-ui"] }
|
|
||||||
def omp-complete-thinking [] { ["minimal" "low" "medium" "high" "xhigh"] }
|
|
||||||
def omp-complete-approval-mode [] { ["always-ask" "write" "yolo"] }
|
|
||||||
|
|
||||||
# --- subcommands ---
|
|
||||||
|
|
||||||
export extern "omp agents" [
|
|
||||||
action?: string@omp-complete-agents-action
|
|
||||||
--force(-f)
|
|
||||||
--json
|
|
||||||
--dir: string
|
|
||||||
--user
|
|
||||||
--project
|
|
||||||
]
|
|
||||||
def omp-complete-agents-action [] { ["unpack"] }
|
|
||||||
|
|
||||||
export extern "omp auth-broker" [
|
|
||||||
action?: string@omp-complete-auth-broker-action
|
|
||||||
source?: string
|
|
||||||
--json
|
|
||||||
--bind(-b): string
|
|
||||||
--regenerate
|
|
||||||
--via: string
|
|
||||||
--provider: string
|
|
||||||
--include-disabled
|
|
||||||
--from-local
|
|
||||||
--include-env
|
|
||||||
--include-oauth
|
|
||||||
--dry-run
|
|
||||||
]
|
|
||||||
def omp-complete-auth-broker-action [] { ["serve" "token" "login" "logout" "import" "migrate" "status" "list"] }
|
|
||||||
|
|
||||||
export extern "omp auth-gateway" [
|
|
||||||
action?: string@omp-complete-auth-gateway-action
|
|
||||||
--json
|
|
||||||
--bind(-b): string
|
|
||||||
--regenerate
|
|
||||||
--no-auth
|
|
||||||
--strict
|
|
||||||
]
|
|
||||||
def omp-complete-auth-gateway-action [] { ["serve" "token" "status" "check"] }
|
|
||||||
|
|
||||||
export extern "omp commit" [
|
|
||||||
--push
|
|
||||||
--dry-run
|
|
||||||
--no-changelog
|
|
||||||
--legacy
|
|
||||||
--context(-c): string
|
|
||||||
--model(-m): string
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp completions" [
|
|
||||||
shell?: string@omp-complete-shells
|
|
||||||
]
|
|
||||||
def omp-complete-shells [] { ["bash" "zsh" "fish"] }
|
|
||||||
|
|
||||||
export extern "omp config" [
|
|
||||||
action?: string@omp-complete-config-action
|
|
||||||
key?: string
|
|
||||||
value?: string
|
|
||||||
--json
|
|
||||||
]
|
|
||||||
def omp-complete-config-action [] { ["list" "get" "set" "reset" "path" "init-xdg"] }
|
|
||||||
|
|
||||||
export extern "omp grievances" [
|
|
||||||
action?: string@omp-complete-grievances-action
|
|
||||||
--limit(-n): int
|
|
||||||
--tool(-t): string
|
|
||||||
--json(-j)
|
|
||||||
--id: int
|
|
||||||
--all
|
|
||||||
]
|
|
||||||
def omp-complete-grievances-action [] { ["list" "clean" "push"] }
|
|
||||||
|
|
||||||
export extern "omp install" [
|
|
||||||
...targets: string
|
|
||||||
--json
|
|
||||||
--force
|
|
||||||
--dry-run
|
|
||||||
--scope: string@omp-complete-scope
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp plugin" [
|
|
||||||
action?: string@omp-complete-plugin-action
|
|
||||||
...targets: string
|
|
||||||
--json
|
|
||||||
--fix
|
|
||||||
--force
|
|
||||||
--dry-run
|
|
||||||
--local(-l)
|
|
||||||
--enable: string
|
|
||||||
--disable: string
|
|
||||||
--set: string
|
|
||||||
--scope: string@omp-complete-scope
|
|
||||||
]
|
|
||||||
def omp-complete-plugin-action [] { ["install" "uninstall" "list" "link" "doctor" "features" "config" "enable" "disable" "marketplace" "discover" "upgrade"] }
|
|
||||||
def omp-complete-scope [] { ["user" "project"] }
|
|
||||||
|
|
||||||
export extern "omp read" [
|
|
||||||
path?: string
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp search" [
|
|
||||||
query?: string
|
|
||||||
--provider: string
|
|
||||||
--recency: string
|
|
||||||
--limit(-l): int
|
|
||||||
--compact
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp setup" [
|
|
||||||
component?: string@omp-complete-setup-component
|
|
||||||
--check(-c)
|
|
||||||
--json
|
|
||||||
]
|
|
||||||
def omp-complete-setup-component [] { ["python" "stt"] }
|
|
||||||
|
|
||||||
export extern "omp shell" [
|
|
||||||
--cwd(-C): string
|
|
||||||
--timeout(-t): int
|
|
||||||
--no-snapshot
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp ssh" [
|
|
||||||
action?: string@omp-complete-ssh-action
|
|
||||||
...targets: string
|
|
||||||
--json
|
|
||||||
--host: string
|
|
||||||
--user: string
|
|
||||||
--port: string
|
|
||||||
--key: string
|
|
||||||
--desc: string
|
|
||||||
--compat
|
|
||||||
--scope: string@omp-complete-scope
|
|
||||||
]
|
|
||||||
def omp-complete-ssh-action [] { ["add" "remove" "list"] }
|
|
||||||
|
|
||||||
export extern "omp stats" [
|
|
||||||
--port(-p): int
|
|
||||||
--json(-j)
|
|
||||||
--summary(-s)
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp tiny-models" [
|
|
||||||
action?: string@omp-complete-tiny-models-action
|
|
||||||
model?: string
|
|
||||||
--json
|
|
||||||
]
|
|
||||||
def omp-complete-tiny-models-action [] { ["download" "list"] }
|
|
||||||
|
|
||||||
export extern "omp update" [
|
|
||||||
--force(-f)
|
|
||||||
--check(-c)
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp usage" [
|
|
||||||
--json(-j)
|
|
||||||
--provider(-p): string
|
|
||||||
--redact(-r)
|
|
||||||
]
|
|
||||||
|
|
||||||
export extern "omp worktree" [
|
|
||||||
action?: string@omp-complete-worktree-action
|
|
||||||
--all
|
|
||||||
--dry-run(-n)
|
|
||||||
--json(-j)
|
|
||||||
]
|
|
||||||
def omp-complete-worktree-action [] { ["list" "clear"] }
|
|
||||||
|
|
@ -518,25 +518,6 @@ let
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
description = "Hyper+0 copies a rephrase prompt into the clipboard";
|
|
||||||
manipulators = [
|
|
||||||
{
|
|
||||||
from = {
|
|
||||||
key_code = "0";
|
|
||||||
modifiers = {
|
|
||||||
mandatory = hyperModifiers;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
to = [
|
|
||||||
{
|
|
||||||
shell_command = "printf '%s' 'rephrase the tweet on the screen in a more humanly-understandable way' | pbcopy";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
type = "basic";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue