mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 09:37:57 +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
|
||||
// homeSessionSearchVariables;
|
||||
in {
|
||||
home.file.".zshrc".text = mkIf config.isDarwin /* zsh */ ''
|
||||
home.file.".zshrc".text = /* zsh */ ''
|
||||
${homeSessionVariables
|
||||
|> mapAttrsToList (name: value: "export ${name}='${value}'")
|
||||
|> 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