13 lines
173 B
Bash
13 lines
173 B
Bash
# gh
|
|
if (( $+commands[gh] )); then
|
|
gh_chpwd_hook() {
|
|
if [[ -d ".github" ]]; then
|
|
gh pr list
|
|
fi
|
|
}
|
|
|
|
chpwd_functions+=( gh_chpwd_hook )
|
|
|
|
gh_chpwd_hook
|
|
fi
|