Use any-nix-shell to not lose zsh when doing nix-shell
This commit is contained in:
parent
c7957b5460
commit
0c26b0e6fa
1 changed files with 3 additions and 0 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue