dotfiles/zshrc: only use some opts on dev hosts

Only use the Node.js and rsync variables on dev hosts.
This commit is contained in:
Alan Orth 2023-09-26 09:58:24 +03:00
parent e33ac6ffcb
commit 30ce3d5e1d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

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.
@ -66,6 +65,7 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# 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