update
This commit is contained in:
@@ -22,13 +22,21 @@ else
|
||||
start_agent;
|
||||
fi
|
||||
|
||||
function envf {
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "File $1 does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export $(cat $1 | grep -v '^#' | xargs)
|
||||
}
|
||||
|
||||
export HISTORY_SUBSTRING_SEARCH_PREFIXED=1
|
||||
export FLUTTER_ROOT="$HOME/apps/flutter"
|
||||
export GOPATH="$HOME/go"
|
||||
export GOROOT="$HOME/apps/go"
|
||||
export NODE_ROOT="$HOME/apps/node"
|
||||
|
||||
export PATH="$GOPATH/bin:$GOROOT/bin:$NODE_ROOT/bin:$FLUTTER_ROOT/bin:$PATH"
|
||||
export PATH="$GOPATH/bin:$GOROOT/bin:$NODE_ROOT/bin:${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
||||
|
||||
if [ -f "$HOME/.cargo/env" ]; then
|
||||
. "$HOME/.cargo/env"
|
||||
@@ -42,4 +50,4 @@ fi
|
||||
if [ -f '/Users/jay/apps/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/jay/apps/google-cloud-sdk/path.zsh.inc'; fi
|
||||
|
||||
# The next line enables shell command completion for gcloud.
|
||||
if [ -f '/Users/jay/apps/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/jay/apps/google-cloud-sdk/completion.zsh.inc'; fi
|
||||
# if [ -f '/Users/jay/apps/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/jay/apps/google-cloud-sdk/completion.zsh.inc'; fi
|
||||
|
||||
Reference in New Issue
Block a user