Use any-nix-shell to not lose zsh when doing nix-shell

This commit is contained in:
Charlotte Van Petegem 2020-04-30 10:36:13 +02:00
parent c7957b5460
commit 0c26b0e6fa

View file

@ -14,6 +14,9 @@
expireDuplicatesFirst = true; expireDuplicatesFirst = true;
path = "\$HOME/.config/zsh/zsh_history"; path = "\$HOME/.config/zsh/zsh_history";
}; };
initExtra = ''
${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin
'';
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [