mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
10 lines
252 B
Fish
10 lines
252 B
Fish
function gho --description 'pick a ghq repo / Obsidian vault (tv ghq-repos cable) + cd'
|
|
set -l dir (tv ghq-repos --inline); or return
|
|
test -n "$dir"; or return 1
|
|
cd $dir; or return
|
|
clear
|
|
if test -d .git
|
|
onefetch
|
|
end
|
|
end
|