diff --git a/zsh/.zshrc b/zsh/.zshrc index 06f13e9..926a028 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -269,6 +269,10 @@ if [[ -d '/usr/local/go/bin' ]]; then path=("$path[@]" /usr/local/go/bin "$GOPATH/bin") fi +if [[ $+commands[yarn] ]]; then + path=("$path[@]" "$(yarn global bin)") +fi + start() { nohup $@ &>/dev/null & disown }