mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
12 lines
247 B
Bash
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
|
|
}
|