mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Remove set +u/-u
Lots of zsh plugins fail to load when login via sshd: ``` $ ssh -p 8022 nix-on-droid@192.168.0.1 (eval):28: __zoxide_hooked: parameter not set (eval):8: precmd_functions[(r)_direnv_hook]: parameter not set async_init:1: ASYNC_INIT_DONE: parameter not set prompt_pure_setup:10: prompt_newline: parameter not set /nix/store/drwh7ngjshx794jvrvfvaz7wacjhkywi-zsh-fast-syntax-highlighting-1.54/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh:48: ZPLG_CUR_PLUGIN: parameter not set ```
This commit is contained in:
parent
4ade388b9a
commit
543c3bfdee
2 changed files with 0 additions and 4 deletions
|
|
@ -60,9 +60,7 @@ writeText "login-inner" ''
|
|||
fi
|
||||
''}
|
||||
|
||||
set +u
|
||||
. "${config.user.home}/.nix-profile/etc/profile.d/nix-on-droid-session-init.sh"
|
||||
set -u
|
||||
|
||||
${lib.optionalString config.build.initialBuild ''
|
||||
exec /usr/bin/env bash # otherwise it'll be a limited bash that came with Nix
|
||||
|
|
|
|||
|
|
@ -26,9 +26,7 @@ let
|
|||
|
||||
${optionalString (config.home-manager.config != null) ''
|
||||
if [ -e "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ]; then
|
||||
set +u
|
||||
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
||||
set -u
|
||||
fi
|
||||
''}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue