Skip to content

Commit

Permalink
Add flutter setting to zsh config
Browse files Browse the repository at this point in the history
  • Loading branch information
takumism committed May 27, 2024
1 parent 86de5ff commit a7eb159
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .zsh/commands.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ alias dce="docker compose exec"
# ----------------------------
alias v="nvim"

# ----------------------------
# flutter
# ----------------------------
if type "flutter" > /dev/null 2>&1; then
export PATH="$PATH:$HOME/development/flutter/bin"
fi

# ----------------------------
# git
# ----------------------------
Expand All @@ -46,9 +53,11 @@ alias g="git"
# ----------------------------
# go
# ----------------------------
export GO111MODULE=on
export PATH="$(go env GOROOT)/bin:$PATH"
export PATH="$(go env GOPATH)/bin:$PATH"
if type "go" > /dev/null 2>&1; then
export GO111MODULE=on
export PATH="$(go env GOROOT)/bin:$PATH"
export PATH="$(go env GOPATH)/bin:$PATH"
fi

# ----------------------------
# gpg
Expand Down

0 comments on commit a7eb159

Please sign in to comment.