Skip to content

Commit bc80086

Browse files
committed
remove zsh part
1 parent 3885344 commit bc80086

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

pkg/zsh/debian-zsh.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ set +u
77
source 'pkg/zsh/.zshenv'
88
set -u
99

10-
MISE_DIR="${XDG_CONFIG_HOME}/mise"
11-
trap 'unset ZSH_BIN USER_SHELL MISE_DIR' EXIT
10+
trap 'unset ZSH_BIN USER_SHELL' EXIT
1211

1312
# Install Zsh
1413
echo "Installing Zsh..."
@@ -25,13 +24,9 @@ sudo chsh -s "$(which zsh)" "$(whoami)"
2524

2625
# Install zsh dotfiles
2726
echo "Installing zsh dotfiles..."
28-
mkdir -p "${HOME}/.config" # Make sure XDG_CONFIG_HOME exists
27+
mkdir -p "${XDG_CONFIG_HOME}" # Make sure XDG_CONFIG_HOME exists
2928
if [ -f "${HOME}/.zshenv" ]; then
3029
mv "${HOME}/.zshenv" "${HOME}/.zshenv.bk"
3130
echo "Warning: existing .zshenv found, backed up to .zshenv.bk"
3231
fi
3332
ln -sf .dotfiles/zsh/.zshenv "${HOME}/.zshenv"
34-
35-
# Install mise dotfiles
36-
mkdir -p "${MISE_DIR}"
37-
stow --no-folding --target "${MISE_DIR}" 'mise'

pkg/zsh/macos-zsh.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ set -u
99

1010
ZSH_BIN="${HOMEBREW_PREFIX}/bin/zsh" # Homebrew zsh
1111
USER_SHELL=$(dscl . -read "${HOME}" UserShell | awk '{print $2}')
12-
MISE_DIR="${XDG_CONFIG_HOME}/mise"
13-
trap 'unset ZSH_BIN USER_SHELL MISE_DIR' EXIT
12+
trap 'unset ZSH_BIN USER_SHELL' EXIT
1413

1514
# Install Zsh and tools
1615
brew bundle --file pkg/zsh/zsh.Brewfile
@@ -35,9 +34,5 @@ fi
3534

3635
# Install zsh dotfiles
3736
echo "Installing zsh dotfiles..."
38-
mkdir -p "${HOME}/.config" # Make sure XDG_CONFIG_HOME exists
37+
mkdir -p "${XDG_CONFIG_HOME}" # Make sure XDG_CONFIG_HOME exists
3938
ln -sf .dotfiles/zsh/.zshenv "${HOME}/.zshenv"
40-
41-
# Install mise dotfiles
42-
mkdir -p "${MISE_DIR}"
43-
stow --no-folding --target "${MISE_DIR}" 'mise'

0 commit comments

Comments
 (0)