diff options
author | Humphrey Lin <[email protected]> | 2020-12-09 13:56:02 +0800 |
---|---|---|
committer | Humphrey Lin <[email protected]> | 2020-12-09 13:56:02 +0800 |
commit | a1d250b423ba386ef7e3c182a3a41a1d5d7e7a5a (patch) | |
tree | 124cc802d71a2d4c6c85a412e2d00224b14d6077 | |
parent | 0b5c0e2e318ed131200183c6d32e9cab30952b12 (diff) | |
download | dotfiles-a1d250b423ba386ef7e3c182a3a41a1d5d7e7a5a.tar.gz dotfiles-a1d250b423ba386ef7e3c182a3a41a1d5d7e7a5a.tar.bz2 dotfiles-a1d250b423ba386ef7e3c182a3a41a1d5d7e7a5a.zip |
Add java config for macOS
-rw-r--r-- | .zshrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,7 +13,6 @@ HISTFILE=~/.zsh_history # file [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh -[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh # proxy export http_proxy=http://127.0.0.1:7890 @@ -25,9 +24,13 @@ export no_proxy=localhost,127.0.0.1 case `uname` in Darwin) # commands for macOS + [ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh # ruby [ -d /usr/local/opt/ruby/bin ] && export PATH="/usr/local/opt/ruby/bin:$PATH" + + # java + [ -d /usr/local/opt/openjdk/bin ] && export PATH="/usr/local/opt/openjdk/bin:$PATH" ;; Linux) # commands for Linux @@ -54,7 +57,6 @@ source ~/.zplug/init.zsh zplug "plugins/git", from:oh-my-zsh zplug "zsh-users/zsh-completions" zplug "zsh-users/zsh-syntax-highlighting" -zplug "zsh-users/zsh-autosuggestions" zplug "dracula/zsh", as:theme if ! zplug check --verbose; then printf "Install? [y/N]: " |