aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-08-20 23:18:08 +0800
committergxlin <[email protected]>2021-08-20 23:18:08 +0800
commit455bc26edb8bf1e2512cd4739eca82a6b528e9c5 (patch)
treedbb26f50ef468eb72495c2bb1ab51a638fa54c05 /.zshrc
parent558d3547645636c67bbb2d18b0dfff35f9d437c6 (diff)
downloaddotfiles-455bc26edb8bf1e2512cd4739eca82a6b528e9c5.tar.gz
dotfiles-455bc26edb8bf1e2512cd4739eca82a6b528e9c5.tar.bz2
dotfiles-455bc26edb8bf1e2512cd4739eca82a6b528e9c5.zip
Update config
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc9
1 files changed, 1 insertions, 8 deletions
diff --git a/.zshrc b/.zshrc
index fa00dc3..0d02729 100644
--- a/.zshrc
+++ b/.zshrc
@@ -18,7 +18,7 @@ HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
-[ -d ~/bin ] && export PATH="$HOME/bin:$PATH"
+source $HOME/.path
[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh
@@ -28,16 +28,9 @@ 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"
-
# Alias
alias ls='ls -G'
alias ll='ls -lhG'
- alias bug='brew upgrade --greedy'
source ~/.macos
;;