Files
fish/functions/ghg.fish
T

6 lines
190 B
Fish

function ghg -a repo --description 'ghq get + cd (clone/path logic in ~/.local/bin/ghg-clone)'
set -l dir (ghg-clone $repo); or return
cd $dir; or return
clear; and onefetch
end