commit 54e759a410aa526d426288a90c958168278290f5 parent 51276800e354aa27887eb12477973abdfada992d Author: Chris Bracken <chris@bracken.jp> Date: Sat, 6 Oct 2018 13:22:58 -0700 Move depot_tools later in PATH Specifically, this is to pick up clang-format from homebrew, if installed. Diffstat:
M | .paths | | | 20 | ++++++++++---------- |
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/.paths b/.paths @@ -37,26 +37,26 @@ if [[ "$(uname)" == "Darwin" ]]; then path_prepend "/opt/local/bin" fi +# Fuchsia/Flutter +path_prepend "$HOME/src/depot_tools" +path_prepend "$HOME/src/flutter/flutter/bin" +path_prepend "$HOME/src/fuchsia/.jiri_root/bin" +if [[ -e "$HOME/src/fuchsia/.jiri_root/scripts/fx-env.sh" ]]; then + source "$HOME/src/fuchsia/.jiri_root/scripts/fx-env.sh" +fi + # Homebrew if [[ "$(uname)" == "Darwin" ]]; then path_prepend "$HOME/.homebrew/bin" fi -# Rust -path_prepend "$HOME/.cargo/bin" - # Ruby gems if which ruby >/dev/null && which gem >/dev/null; then path_prepend "$(ruby -rubygems -e 'puts Gem.user_dir')/bin" fi -# Fuchsia/Flutter -path_prepend "$HOME/src/depot_tools" -path_prepend "$HOME/src/flutter/flutter/bin" -path_prepend "$HOME/src/fuchsia/.jiri_root/bin" -if [[ -e "$HOME/src/fuchsia/.jiri_root/scripts/fx-env.sh" ]]; then - source "$HOME/src/fuchsia/.jiri_root/scripts/fx-env.sh" -fi +# Rust +path_prepend "$HOME/.cargo/bin" # Google Cloud SDK path_prepend "$HOME/src/google-cloud-sdk/bin"