Skip to content

Commit

Permalink
Add Flutter development environment with fvm
Browse files Browse the repository at this point in the history
  • Loading branch information
yakkun committed Apr 9, 2024
1 parent b280d40 commit 9ca7fb3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ type vim >/dev/null && alias vi='vim'
type colordiff >/dev/null && alias diff='colordiff -u'
alias grep='grep --color'
type docker >/dev/null && alias dc='docker compose'
alias flutter='fvm flutter'

# Completion for Dart
[[ -f $HOME/.dart-cli-completion/zsh-config.zsh ]] && . $HOME/.dart-cli-completion/zsh-config.zsh || true

# ===== Functions =====
# Change directory with ghq list (Ctrl-G)
Expand Down
5 changes: 5 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ tap "homebrew/bundle"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/services"
tap "leoafarias/fvm"
brew "anyenv"
brew "aspell"
brew "awscli"
brew "circleci"
brew "cocoapods"
brew "colordiff"
brew "coreutils"
brew "deno"
Expand Down Expand Up @@ -52,14 +54,17 @@ brew "yarn"
brew "yq"
brew "zsh"
brew "heroku/brew/heroku"
brew "leoafarias/fvm/fvm"
cask "adobe-creative-cloud"
cask "alacritty"
cask "alfred"
cask "android-studio"
cask "cmd-eikana"
cask "coteditor"
cask "dash"
cask "discord"
cask "docker"
cask "flutter"
cask "font-ricty-diminished"
cask "github-beta"
cask "google-chrome-beta"
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ diff-highlight: ## Setup diff-highlight
.PHONY: cot
cot: ## Setup cot (CotEditor)
sudo ln -sf /Applications/CotEditor.app/Contents/SharedSupport/bin/cot /usr/local/bin/

.PHONY: flutter
flutter: ## Setup Flutter dev env
fvm install stable

0 comments on commit 9ca7fb3

Please sign in to comment.