1
0
Fork 0

Improve flutter path, to be similar to Go
continuous-integration/drone/push Build encountered an error Details

main
Ambrose Chua 2019-10-22 10:15:13 +08:00
parent 07b4654767
commit 3d470c432b
Signed by: ambrose
GPG Key ID: BC367D33F140B5C2
1 changed files with 8 additions and 5 deletions

13
.zshrc
View File

@ -91,6 +91,14 @@ if [[ -f "$(which kubectl)" ]]; then
source <(kubectl completion zsh)
fi
# python path
if [[ "$(uname -s)" == "Darwin" ]]; then
export PATH="$PATH:$HOME/Library/Python/3.7/bin"
export PATH="$PATH:$HOME/Library/Python/2.7/bin"
fi
# flutter SDK
export PATH="$PATH:$DOC/flutter/bin"
# aliases
alias vim=nvim
@ -116,11 +124,6 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
test -e "$HOME/.oh-my-zsh/plugins/osx/osx.plugin.zsh" && source "$HOME/.oh-my-zsh/plugins/osx/osx.plugin.zsh"
# legacy scripts
test -e "$HOME/.bin" && export PATH="$HOME/.bin:$PATH" # TODO: move to .local/bin
# python path on macOS
export PATH="$PATH:$HOME/Library/Python/3.7/bin"
export PATH="$PATH:$HOME/Library/Python/2.7/bin"
# flutter SDK
export PATH="$PATH:$HOME/Documents/tools/flutter/bin"
# tips
function tips {