From 5dba1d295ab526fbb39f47676a47c1a45aecde49 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 27 Feb 2023 08:36:30 +0800 Subject: Update macos config --- .macos | 3 +-- .zshrc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.macos b/.macos index 3c4603b..7e21987 100644 --- a/.macos +++ b/.macos @@ -9,8 +9,7 @@ macos_update_path /usr/local/opt/openjdk/bin macos_update_path /usr/local/opt/ruby/bin macos_update_path /usr/local/opt/llvm/bin -export BROWSER='open -a safari' -[ -d /Applications/Firefox.app ] && export BROWSER='open -a firefox' +export BROWSER='open' alias bug='brew upgrade --greedy' diff --git a/.zshrc b/.zshrc index 3efa128..79bdb38 100644 --- a/.zshrc +++ b/.zshrc @@ -28,10 +28,9 @@ source $HOME/.functions [ -r $HOME/.nnnrc ] && source $HOME/.nnnrc [ -r $HOME/.fzfrc ] && source $HOME/.fzfrc -[[ $(uname) == Darwin ]] && [ -r $HOME/.macos ] && source $HOME/.macos - if command -v direnv &> /dev/null; then eval "$(direnv hook zsh)" fi +[[ $(uname) == Darwin ]] && [ -r $HOME/.macos ] && source $HOME/.macos [ -r $HOME/.zsh_local ] && source $HOME/.zsh_local -- cgit v1.2.3