gh: Store config to share aliases
This commit is contained in:
parent
428f2ee53c
commit
96556c855f
2 changed files with 15 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
- shell:
|
- shell:
|
||||||
- mkdir -p ~/.config
|
- mkdir -p ~/.config
|
||||||
- mkdir -p ~/.config/direnv
|
- mkdir -p ~/.config/direnv
|
||||||
|
- mkdir -p ~/.config/gh
|
||||||
- mkdir -p ~/.task
|
- mkdir -p ~/.task
|
||||||
- ./bin/set-colors
|
- ./bin/set-colors
|
||||||
- ./task/install
|
- ./task/install
|
||||||
|
|
@ -12,6 +13,7 @@
|
||||||
~/.config/alacritty: alacritty/
|
~/.config/alacritty: alacritty/
|
||||||
~/.config/direnv/direnvrc: direnv/direnvrc
|
~/.config/direnv/direnvrc: direnv/direnvrc
|
||||||
~/.config/flake8: etc/flake8
|
~/.config/flake8: etc/flake8
|
||||||
|
~/.config/gh/config.yml: gh/config.yml
|
||||||
~/.config/git: git/
|
~/.config/git: git/
|
||||||
~/.config/hg: hg/
|
~/.config/hg: hg/
|
||||||
~/.config/jrnl: jrnl/
|
~/.config/jrnl: jrnl/
|
||||||
|
|
|
||||||
13
gh/config.yml
Normal file
13
gh/config.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# What protocol to use when performing git operations. Supported values: ssh, https
|
||||||
|
# This will be overridden by host-level config (but that contains secrets).
|
||||||
|
git_protocol: https
|
||||||
|
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
|
||||||
|
editor:
|
||||||
|
# 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:
|
||||||
|
# Aliases allow you to create nicknames for gh commands
|
||||||
|
aliases:
|
||||||
|
co: pr checkout
|
||||||
|
prw: pr view -w
|
||||||
Loading…
Add table
Add a link
Reference in a new issue