pinwheel: Ignore .direnv in intellij
This commit is contained in:
@@ -24,6 +24,22 @@ in
|
|||||||
precmd_functions+=(_ensure_bash_interactive)
|
precmd_functions+=(_ensure_bash_interactive)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Configure IntelliJ to exclude .direnv from indexing
|
||||||
|
home.activation.intellijIgnoreDirenv = ''
|
||||||
|
for idea_config in $HOME/.config/JetBrains/IntelliJIdea*; do
|
||||||
|
if [ -d "$idea_config" ]; then
|
||||||
|
$DRY_RUN_CMD mkdir -p "$idea_config/options"
|
||||||
|
$DRY_RUN_CMD tee "$idea_config/options/filetypes.xml" > /dev/null <<'EOF'
|
||||||
|
<application>
|
||||||
|
<component name="FileTypeManager" version="18">
|
||||||
|
<ignoreFiles list="*.pyc;*.pyo;*.rbc;*.yarb;*~;.DS_Store;.git;.hg;.svn;CVS;__pycache__;_svn;vssver.scc;vssver2.scc;.direnv" />
|
||||||
|
</component>
|
||||||
|
</application>
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
GITHUB_ACTOR = "Alexander Heldt";
|
GITHUB_ACTOR = "Alexander Heldt";
|
||||||
GITHUB_TOKEN = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.work-github-token.path})";
|
GITHUB_TOKEN = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.work-github-token.path})";
|
||||||
|
|||||||
Reference in New Issue
Block a user