This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from caarlos0/speed
Speed improvements
- Loading branch information
Showing
17 changed files
with
40 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/zsh | ||
source <(antibody init) | ||
antibody() { | ||
eval "$(command antibody init -)" | ||
antibody "$@" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/sh | ||
export GOPATH="$PROJECTS/Go" | ||
[ ! -d "$GOPATH" ] && mkdir -p "$GOPATH/bin" | ||
[ ! -d "$GOPATH/src/github.com/" ] && mkdir -p "$GOPATH/src/github.com/" | ||
export PATH="$PATH:$GOPATH/bin" | ||
mkdir -p "$GOPATH/bin" "$GOPATH/src/github.com/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
#!/bin/sh | ||
export PATH="/usr/local/share/npm/bin:$PATH" | ||
export PATH="$PATH:$HOME/.npm/bin" | ||
|
||
export PATH="$PATH:/usr/local/share/npm/bin:$HOME/.npm/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
if [ "$(uname -s)" = "Darwin" ]; then | ||
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin | ||
export PATH="$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin" | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
pyenv() { | ||
eval "$(command pyenv init -)" | ||
pyenv "$@" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
#!/bin/sh | ||
if [ -d "$HOME/.rbenv" ]; then | ||
export PATH="$HOME/.rbenv/bin:$PATH" | ||
export PATH="$PATH:$HOME/.rbenv/bin" | ||
fi | ||
# shellcheck disable=SC2039 | ||
if rbenv &>/dev/null; then | ||
eval "$(rbenv init -)" | ||
|
||
if which rbenv >/dev/null 2>&1; then | ||
rbenv() { | ||
eval "$(command rbenv init -)" | ||
rbenv "$@" | ||
} | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/zsh | ||
set -e | ||
set -ex | ||
|
||
# Lint files | ||
./build/build.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#!/bin/sh | ||
# GRC colorizes nifty unix tools all over the place | ||
# shellcheck disable=2039 | ||
if grc &>/dev/null && ! brew &>/dev/null; then | ||
if which grc >/dev/null 2>&1 && which brew >/dev/null 2>&1; then | ||
# shellcheck disable=SC1090 | ||
. "$(brew --prefix)/etc/grc.bashrc" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/sh | ||
export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH" | ||
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" | ||
export PATH="$PATH:$ZSH/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters