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
2 changes: 2 additions & 0 deletions installers/brew.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

if ! type "brew" > /dev/null; then
echo '`brew` not found. Install Homebrew'
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Expand Down
2 changes: 2 additions & 0 deletions installers/dein.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

# Install dein
INSTALLATION_DIR=$HOME/.cache/dein

Expand Down
2 changes: 2 additions & 0 deletions installers/xcode.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

if ! type "xcodebuild" > /dev/null ; then
xcodes install --latest
fi
Expand Down
2 changes: 2 additions & 0 deletions installers/zplug.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

if [ ! -d $ZPLUG_HOME ]; then
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
fi
Expand Down
2 changes: 2 additions & 0 deletions settings/macos/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

# NSGlobalDomain
# 全ての拡張子のファイルを表示
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
Expand Down
2 changes: 2 additions & 0 deletions settings/vscode/install-extensions.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

if ! type 'code' > /dev/null; then
echo 'Please install vscode and activate `code` command.'
exit 1
Expand Down
2 changes: 2 additions & 0 deletions settings/vscode/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

SCRIPT_DIR=$(cd $(dirname $0) && pwd)
VSCODE_DOT_DIRECTORY=$HOME/.vscode
VSCODE_SETTING_DIR=$HOME/Library/Application\ Support/Code/User
Expand Down
2 changes: 2 additions & 0 deletions settings/xcode/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/zsh

if ! type "xcodebuild" > /dev/null ; then
xcodes install --latest
fi
Expand Down
Loading