mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 01:27:56 +00:00
shells: fix using intellij
This commit is contained in:
parent
4636754606
commit
f96334ea87
1 changed files with 5 additions and 2 deletions
|
@ -64,11 +64,14 @@ in {
|
||||||
// homeSessionVariablesExtra
|
// homeSessionVariablesExtra
|
||||||
// homeSessionSearchVariables;
|
// homeSessionSearchVariables;
|
||||||
in {
|
in {
|
||||||
home.file.".zshrc".text = mkIf config.isDarwin /* zsh */ ''
|
home.file.".zshrc".text = /* zsh */ ''
|
||||||
${homeSessionVariables
|
${homeSessionVariables
|
||||||
|> mapAttrsToList (name: value: "export ${name}='${value}'")
|
|> mapAttrsToList (name: value: "export ${name}='${value}'")
|
||||||
|> concatStringsSep "\n"}
|
|> concatStringsSep "\n"}
|
||||||
SHELL='${getExe <| head config'.shellsByPriority}' exec "$SHELL"
|
|
||||||
|
if [ -z "$INTELLIJ_ENVIRONMENT_READER" ]; then
|
||||||
|
SHELL='${getExe <| head config'.shellsByPriority}' exec "$SHELL"
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue