Update PROJECT_NAME on cd
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# gh
|
||||
if (( $+commands[gh] )); then
|
||||
gh_chpwd_hook() {
|
||||
_gh_chpwd_hook() {
|
||||
if [[ -d ".github" ]]; then
|
||||
PAGER= gh pr list
|
||||
fi
|
||||
}
|
||||
|
||||
chpwd_functions+=( gh_chpwd_hook )
|
||||
chpwd_functions+=( _gh_chpwd_hook )
|
||||
|
||||
gh_chpwd_hook
|
||||
_gh_chpwd_hook
|
||||
fi
|
||||
|
Reference in New Issue
Block a user