Files
cachyos/dot_config/bash/functions/gho.bash
T
Prad Nukala ee355bcfd5 Initial import: chezmoi source for CachyOS + Umbriel + Noctalia
Imported from prdlk/dotfiles master (efdd827). Drops the niri, Hyprland/Omarchy,
macOS, and Blume docs-site layers; docs/ is plain Markdown.
2026-11-02 09:14:11 -05:00

12 lines
247 B
Bash

# Pick a ghq repo / Obsidian vault with tv (ghq-repos cable) + cd.
gho() {
local dir
dir=$(tv ghq-repos --inline) || return
[ -n "$dir" ] || return 1
cd "$dir" || return
clear
if [ -d .git ]; then
onefetch
fi
}