Skip to content

Instantly share code, notes, and snippets.

@cchacin
cchacin / iTerm2-Local-Ollama-Prompt.txt
Created July 16, 2024 20:12
iTerm2 AI prompt to connect with Ollama local
Return commands suitable for executing directly into \(shell) on \(uname).
- Do not add any back quotes on the resulting command
- Do not add any description or explanation about the commmand
- Only show a single command
- No additional text besides the command to run
- Consider the target machine \(uname) to generate a command that works for the OS and CPU architecture
- Consider the aliases that are configured in the file ~/.aliases
The script should do this: \(ai.prompt)
@FlyinPancake
FlyinPancake / get-ghostty-themes.sh
Created November 2, 2025 17:09
Download and install all ghostty themes from mbadolato/iTerm2-Color-Schemes
#!/bin/bash
mkdir -p ~/.config/ghostty/themes && \
tmpdir=$(mktemp -d) && \
git clone --depth 1 --filter=blob:none --sparse https://github.com/mbadolato/iTerm2-Color-Schemes.git "$tmpdir" && \
cd "$tmpdir" && \
git sparse-checkout set ghostty && \
rsync -a ghostty/ ~/.config/ghostty/themes/ && \
cd ~
rm -rf "$tmpdir"