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

6 lines
165 B
Bash
Raw Normal View History

# Create a repo (prad.codes/github.com) + cd; logic lives in ~/.local/bin/ghn.
ghn() {
local dir
dir=$(command ghn "$@") || return
cd "$dir" || return
}