diff --git a/scripts/Arch/Software/n/main.fish b/scripts/Arch/Software/n/main.fish index c1717c1e..5a3fb696 100755 --- a/scripts/Arch/Software/n/main.fish +++ b/scripts/Arch/Software/n/main.fish @@ -5,7 +5,7 @@ begin function installSW -V dir yayinst nodejs-n - sudo fish "$dir/../../../Common/Software/n/main.fish" configure + sudo --preserve-env --set-home fish "$dir/../../../Common/Software/n/main.fish" configure end runInstaller $argv diff --git a/scripts/Arch/Software/openssh/main.fish b/scripts/Arch/Software/openssh/main.fish index 271a31dc..d95bfc0b 100755 --- a/scripts/Arch/Software/openssh/main.fish +++ b/scripts/Arch/Software/openssh/main.fish @@ -7,10 +7,12 @@ begin yayinst \ openssh \ libfido2 + + source (status filename) configure end function configureSW - systemctl --global enable --now ssh-agent + sudo systemctl --global enable ssh-agent and begin printf %s\n \ diff --git a/scripts/Common/Software/Chromium/install-extension.sh b/scripts/Common/Software/Chromium/install-extension.sh index fa68b685..c5647c34 100644 --- a/scripts/Common/Software/Chromium/install-extension.sh +++ b/scripts/Common/Software/Chromium/install-extension.sh @@ -14,7 +14,7 @@ then UNPACKED_EXTENSION="${UNPACKED_EXTENSION}" \ EXTENSION_DIR="${EXTENSION_DIR}" \ EXTENSION_POLICY_DIR="${EXTENSION_POLICY_DIR}" \ - bash "$BASH_SOURCE" "$USER"; + bash --login "$BASH_SOURCE" "$USER"; else keyFile="$UNPACKED_EXTENSION.pem"; extensionFile="$UNPACKED_EXTENSION.crx"; diff --git a/scripts/Common/Software/pyenv/main.fish b/scripts/Common/Software/pyenv/main.fish index 233e88ed..967f39c9 100755 --- a/scripts/Common/Software/pyenv/main.fish +++ b/scripts/Common/Software/pyenv/main.fish @@ -20,7 +20,7 @@ begin end | installBashProfile "pyenv" > /dev/null if type -q fish - addFishProfile "pyenv" "pyenv" "pyenv init - | source" + installFishProfile "pyenv" "pyenv" "pyenv init - | source" end end