add GitHub Copilot alias to xonsh shell configuration

This commit is contained in:
Seaswimmer 2024-12-18 15:05:25 -05:00
parent 5de91de150
commit e9bbef2d8a
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -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: [