From e9bbef2d8a824aa0fbb4837c45a7ad8bca7354ef Mon Sep 17 00:00:00 2001 From: cswimr Date: Wed, 18 Dec 2024 15:05:25 -0500 Subject: [PATCH] add GitHub Copilot alias to xonsh shell configuration --- nixos/shell.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/shell.nix b/nixos/shell.nix index 4a273a8..aa16f9d 100644 --- a/nixos/shell.nix +++ b/nixos/shell.nix @@ -85,6 +85,9 @@ xontrib load direnv xontrib load sh source-bash ${pkgs.nix-index}/etc/profile.d/command-not-found.sh + tmpfile = $(mktemp) + gh copilot alias -- bash > @(tmpfile) + source-bash @(tmpfile) ''; package = pkgs.xonsh.override { extraPackages = ps: [