From 96556c855f06c6a88deff57fb2d438f0c4aa5b71 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 18 Feb 2022 14:39:36 -0800 Subject: [PATCH] gh: Store config to share aliases --- default.conf.yaml | 2 ++ gh/config.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 gh/config.yml diff --git a/default.conf.yaml b/default.conf.yaml index 4b48be1..df4c148 100644 --- a/default.conf.yaml +++ b/default.conf.yaml @@ -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/ diff --git a/gh/config.yml b/gh/config.yml new file mode 100644 index 0000000..a621c2f --- /dev/null +++ b/gh/config.yml @@ -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