Update dotfiles/.profile, dotfiles/.zshrc
This commit is contained in:
parent
6b6c4e3191
commit
9d9069dced
2 changed files with 5 additions and 3 deletions
|
@ -235,10 +235,13 @@ if command -v brew > /dev/null; then
|
|||
### Go
|
||||
export GOPATH="${HOME}/.local/go"
|
||||
export GOROOT="$(brew --prefix golang)/libexec"
|
||||
export GO111MODULE=on
|
||||
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
|
||||
|
||||
### ASDF
|
||||
. $(brew --prefix asdf)/libexec/asdf.sh
|
||||
if [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then
|
||||
. $(brew --prefix asdf)/libexec/asdf.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
### Android Studio
|
||||
|
|
|
@ -171,8 +171,7 @@ _source_plugin() {
|
|||
_source_plugin zsh-autosuggestions && ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
|
||||
|
||||
# ZSH Syntax Highlighting
|
||||
if _source_plugin zsh-syntax-highlighting
|
||||
then
|
||||
if _source_plugin zsh-syntax-highlighting; then
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
|
||||
ZSH_HIGHLIGHT_STYLES[default]=none
|
||||
ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=white,underline
|
||||
|
|
Loading…
Reference in a new issue