From aef53d39a6d675169b7214074c12548b69c74df0 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Thu, 30 Jul 2020 13:34:03 +0800 Subject: [PATCH] Update osx --- .zshrc | 9 ++++++++- zsh/osx.zsh | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 zsh/osx.zsh diff --git a/.zshrc b/.zshrc index db97280..e6a7efa 100644 --- a/.zshrc +++ b/.zshrc @@ -131,6 +131,14 @@ source $HOME/dotfiles/zsh/keybindings.zsh source $HOME/dotfiles/zsh/alias.zsh source $HOME/dotfiles/zsh/env.zsh +case `uname` in +Darwin) + source $HOME/dotfiles/zsh/osx.zsh + ;; +FreeBSD) + ;; +esac + if [[ -f ~/.zshrc.local ]]; then source $HOME/.zshrc.local fi @@ -291,5 +299,4 @@ gfs() { cut -c4- | sed 's/.* -> //' } -. $(brew --prefix asdf)/asdf.sh diff --git a/zsh/osx.zsh b/zsh/osx.zsh new file mode 100644 index 0000000..4c63d2d --- /dev/null +++ b/zsh/osx.zsh @@ -0,0 +1,3 @@ + +. $(brew --prefix asdf)/asdf.sh +