add GitHub Copilot alias to xonsh shell configuration
This commit is contained in:
parent
5de91de150
commit
e9bbef2d8a
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@
|
||||||
xontrib load direnv
|
xontrib load direnv
|
||||||
xontrib load sh
|
xontrib load sh
|
||||||
source-bash ${pkgs.nix-index}/etc/profile.d/command-not-found.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 {
|
package = pkgs.xonsh.override {
|
||||||
extraPackages = ps: [
|
extraPackages = ps: [
|
||||||
|
|
Loading…
Reference in a new issue