fix: make ssh agent work
This commit is contained in:
parent
77dd766bc0
commit
1601dacb13
4 changed files with 13 additions and 22 deletions
|
@ -11,6 +11,8 @@
|
|||
enable = true;
|
||||
|
||||
interactiveShellInit = with pkgs; ''
|
||||
ssh-add -l | grep -q (ssh-keygen -lf ~/.ssh/id_ed25519) || ssh-add ~/.ssh/id_ed25519
|
||||
|
||||
${lib.getExe starship} init fish | source
|
||||
${lib.getExe nix-your-shell} fish | source
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue