1
0
Fork 0

gh: Store config to share aliases

This commit is contained in:
Jeremy Kaplan 2022-02-18 14:39:36 -08:00
commit 96556c855f
2 changed files with 15 additions and 0 deletions

View file

@ -1,6 +1,7 @@
- shell:
- mkdir -p ~/.config
- mkdir -p ~/.config/direnv
- mkdir -p ~/.config/gh
- mkdir -p ~/.task
- ./bin/set-colors
- ./task/install
@ -12,6 +13,7 @@
~/.config/alacritty: alacritty/
~/.config/direnv/direnvrc: direnv/direnvrc
~/.config/flake8: etc/flake8
~/.config/gh/config.yml: gh/config.yml
~/.config/git: git/
~/.config/hg: hg/
~/.config/jrnl: jrnl/

13
gh/config.yml Normal file
View 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