Skip to content

Instantly share code, notes, and snippets.

# ripgrep wrapper
function rgf() {
rg -l "$1" | fzf --preview "rg -n --color=always -C 3 '$1' {}";
}
"$schema" = 'https://starship.rs/config-schema.json'
format = """
[](red)\
$os\
$username\
[](bg:peach fg:red)\
$directory\
[](bg:yellow fg:peach)\
$git_branch\
============================================================
File: init.lua
============================================================
require("zoxide"):setup {
update_db = true,
}
============================================================
File: package.toml
# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = "Maple Mono NF CN"
font-size = 14