shift shellinit to zsh config
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
plugins = [ "git" ];
|
||||
custom = "$HOME/.config/zsh_nix/custom";
|
||||
};
|
||||
|
||||
shellInit = ''
|
||||
export GPG_TTY="$(tty)"
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
'';
|
||||
initExtra = '' # Zsh theme
|
||||
# Spaceship
|
||||
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
||||
|
||||
Reference in New Issue
Block a user