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

9 lines
241 B
Fish
Raw Normal View History

function gho --description 'pick a ghq repo / Obsidian vault (tv ghq-repos cable) + cd'
set -l dir (tv ghq-repos); or return
test -n "$dir"; or return
cd $dir; or return
clear
if test -d .git
onefetch
end
end