From 7fb53a65227815153233617390d19369d7477da5 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 7 Aug 2023 16:16:20 -0500 Subject: [PATCH] Provide multiple configs to gh client --- home/xonsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/xonsh.nix b/home/xonsh.nix index 2ba4ed6..85e0148 100644 --- a/home/xonsh.nix +++ b/home/xonsh.nix @@ -35,6 +35,7 @@ cblack = "compass workspace run src/python3/uc/tools:run_black --"; cbuild = "compass workspace build"; cci = "./scripts/circleci-checks.py"; + cgh = "$GH_CONFIG_DIR=\"${config.home.homeDirectory}/.config/gh/compass\" gh"; crun = "compass workspace run"; ctest = "compass workspace test"; cylint = "./scripts/run_yaml_lint.py"; @@ -43,6 +44,7 @@ d = "vox deactivate"; devroles = "cd ~/src/ansible_collections/devroles"; dirflake = "nix flake new -t github:nix-community/nix-direnv"; + gh-personal = "$GH_CONFIG_DIR=\"${config.home.homeDirectory}/.config/gh/personal\" gh"; ls = "ls --color"; ll = "ls -l --color"; molcol = "molecule -c ../../tests/molecule.yml";