Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference
version: 2.1

jobs:
build:
macos:
xcode: 15.4.0
resource_class: macos.m1.medium.gen1
steps:
- checkout
- run: ./test.sh
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@

eval "$(starship init zsh)"
6 changes: 1 addition & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
mkdir /usr/local/bin
cd ~

touch ~/.zshrc

# Zinit
curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh | sh
source ~/.zshrc
zinit self-update

# Load starship theme
curl -sS https://starship.rs/install.sh | sh -s -- --yes # Skip prompt.
(echo 'eval "$(starship init zsh)"') >> ~/.zshrc
source ~/.zshrc

# Homebrew
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | sh
Expand Down Expand Up @@ -49,7 +45,7 @@ brew install golang
# GVM (Golang Version Manager)
# https://github.com/moovweb/gvm
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source /Users/clsan/.gvm/scripts/gvm
source ~/.gvm/scripts/gvm
gvm install go1.21

# NVM (Node Version Manager)
Expand Down
6 changes: 6 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pwd
touch ~/.zshrc
curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh | NO_INPUT=true sh
cat ~/.zshrc
source ~/.zshrc
zinit self-update