refactor(nix-hm): ensure zsh has session vars sourced
This commit is contained in:
parent
8418fb3c67
commit
a2e256f823
@ -82,10 +82,6 @@ in
|
|||||||
source = ../dots/.omnisharp;
|
source = ../dots/.omnisharp;
|
||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
".zshrc" = {
|
|
||||||
source = ../dots/.zshrc;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".latexmkrc" = {
|
".latexmkrc" = {
|
||||||
source = ../dots/.latexmkrc;
|
source = ../dots/.latexmkrc;
|
||||||
force = true;
|
force = true;
|
||||||
@ -102,10 +98,8 @@ in
|
|||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
source "$HOME/.config/zsh/zsh"
|
||||||
'';
|
__HM_SESS_VARS_SOURCED= source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
||||||
profileExtra = ''
|
|
||||||
export GTK_PATH="$HOME/.nix-profile/lib/gtk-2.0"
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
neovim = {
|
neovim = {
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
source ~/.config/zsh/zsh
|
|
Loading…
Reference in New Issue
Block a user