Skip to content

Commit a7fef74

Browse files
committed
🛠 fix: zsh
1 parent c276ba6 commit a7fef74

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/debian-zsh.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
set -euo pipefail
33

44
# Load .zshenv to get XDG_CONFIG_HOME
5+
set +u
56
source 'zsh/.zshenv'
7+
set -u
68

79
MISE_DIR="${XDG_CONFIG_HOME}/mise"
810
trap 'unset ZSH_BIN USER_SHELL MISE_DIR' EXIT

scripts/macos-zsh.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
set -euo pipefail
33

44
# Load .zshenv to get XDG_CONFIG_HOME
5+
set +u
56
source 'zsh/.zshenv'
7+
set -u
68

79
ZSH_BIN="${HOMEBREW_PREFIX}/bin/zsh" # Homebrew zsh
810
USER_SHELL=$(dscl . -read "${HOME}" UserShell | awk '{print $2}')

0 commit comments

Comments
 (0)