File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [tools ]
2+ "node" = " lts"
3+ "npm:@anthropic-ai/claude-code" = " latest"
4+ "npm:@google/gemini-cli" = " latest"
5+ "npm:@trivago/prettier-plugin-sort-imports" = " latest"
6+ "npm:npm-run-all" = " latest"
7+ "npm:prettier-plugin-sort-json" = " latest"
8+ "npm:prettier-plugin-sql" = " latest"
9+ "npm:prettier-plugin-tailwindcss" = " latest"
10+ "npm:prettier" = " latest"
11+ "npm:serve" = " latest"
12+ "pipx:ansible-lint" = { version = " latest" , pipx_args = " --include-deps" }
13+ "pipx:ansible" = { version = " latest" , pipx_args = " --include-deps" }
14+ "pipx:black" = " latest"
15+ "pipx:pipdeptree" = " latest"
16+ "pipx:poetry" = " latest"
17+ "pipx:pre-commit" = " latest"
18+ "pnpm" = " 10"
19+ "python" = " latest"
20+ "usage" = " latest"
21+ "yarn" = " 4"
22+ "pipx:ruff" = " latest"
23+ go = " latest"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ bash -c "NO_EDIT=true NO_TUTORIAL=true ZINIT_HOME=${HOME}/.local/share ZINIT_REP
1212
1313# Change default shell to zsh
1414echo " Changing default shell to zsh..."
15- sudo chsh -s " $( which zsh) " " $( whoami ) "
15+ sudo chsh -s " $( which zsh) " " ${USER} "
1616
1717# Install zsh dotfiles
1818echo " Installing zsh dotfiles..."
@@ -22,3 +22,4 @@ if [ -f "${HOME}/.zshenv" ]; then
2222 echo " Warning: existing .zshenv found, backed up to .zshenv.bk"
2323fi
2424ln -sf .dotfiles/zsh/.zshenv " ${HOME} /.zshenv"
25+ stow --no-folding --target " ${XDG_CONFIG_HOME} /mise" ' mise'
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -euo pipefail
33
44ZSH_BIN=" ${HOMEBREW_PREFIX} /bin/zsh" # Homebrew zsh
55USER_SHELL=$( dscl . -read " ${HOME} " UserShell | awk ' {print $2}' )
6+ trap ' unset ZSH_BIN USER_SHELL' EXIT
67
78# Skip if running in CI
89if [ -n " ${CI:- } " ]; then
2526# Install zsh dotfiles
2627echo " Installing zsh dotfiles..."
2728mkdir -p " ${HOME} /.config" # Make sure XDG_CONFIG_HOME exists
28- ln -s .dotfiles/zsh/.zshenv " ${HOME} /.zshenv"
29-
30- unset ZSH_BIN USER_SHELL
29+ ln -sf .dotfiles/zsh/.zshenv " ${HOME} /.zshenv"
30+ stow --no-folding --target " ${XDG_CONFIG_HOME} /mise" ' mise'
You can’t perform that action at this time.
0 commit comments