Compare commits

...

3 Commits

Author SHA1 Message Date
Alan Orth 30ce3d5e1d
dotfiles/zshrc: only use some opts on dev hosts
Only use the Node.js and rsync variables on dev hosts.
2023-09-26 09:58:24 +03:00
Alan Orth e33ac6ffcb
dotfiles/zshrc: add RSYNC_OLD_ARGS
Some time last year rsync made a breaking change around argument
parsing.
2023-09-26 09:57:24 +03:00
Alan Orth 0e7a2b7b1e
dotfiles/zshrc: add NODE_OPTIONS
I need this so Angular applications like DSpace's frontend don't
crash during build due to JavaScript heap memory.
2023-09-26 09:56:35 +03:00
1 changed files with 8 additions and 1 deletions

View File

@ -50,7 +50,6 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# 2022-12-26: use Vulkan renderer in Sway
# 2023-01-03: a bit buggy on older Intel, especially in Thunderbird (even on new Intel)
#export WLR_RENDERER=vulkan
{%@@ endif @@%}
# 2023-02-05: tell pip/poetry not to probe for keyrings. I'm not publishing
# packages to pypi.org and the popup during pip/poetry install is annoying.
@ -59,6 +58,14 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# Don't show rtx version update warnings
export RTX_HIDE_UPDATE_WARNING=1
# For dspace-angular Node.js build: JavaScript heap out of memory
export NODE_OPTIONS=--max_old_space_size=4096
# For rsync breaking change in arg parsing since 2022
# See: https://github.com/bit-team/backintime/issues/1247
export RSYNC_OLD_ARGS=1
{%@@ endif @@%}
fi
# Enable zsh completions for rtx version manager