Files
dotfiles/dot_config/bash/functions/gho.bash
T

10 lines
215 B
Bash
Raw Normal View History

# Pick a ghq repo / Obsidian vault + cd; picker lives in ~/.local/bin/gho.
gho() {
local dir
dir=$(command gho) || return
cd "$dir" || return
clear
if [ -d .git ]; then
onefetch
fi
}