nix-conf/home/config/gh/config.yaml
2024-12-14 16:55:50 +08:00

29 lines
1.2 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# What protocol to use when performing git operations. Supported values: ssh, https
git_protocol: ssh
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
editor: nvim
# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
prompt: enabled
# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager.
pager: bat
# Aliases allow you to create nicknames for gh commands
aliases:
co: pr checkout
diff: pr diff
merge: pr merge
close: issue close
add: issue create --title
todo: issue create -a @me --title
mine: issue list -a @me
e: issue edit
label: issue edit --add-label
claim: issue edit --add-assignee @me
rmlabel: issue edit --remove-label
5c: issue edit --add-project "5♠"
9c: issue edit --add-project "9♠"
17c: issue edit --add-project "17♠"
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
http_unix_socket:
# What web browser gh should use when opening URLs. If blank, will refer to environment.
browser:
version: "1"