Files
dotfiles/dot_config/zsh/functions/ghg.zsh
T

8 lines
242 B
Bash
Raw Normal View History

# ghq get + cd; clone/path logic lives in ~/.local/bin/ghg-clone.
# (helper is not named ghg: an unrelated cargo binary owns that name)
ghg() {
local dir
dir=$(ghg-clone "$@") || return
cd "$dir" || return
clear && onefetch
}