aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-02-27 08:36:30 +0800
committerGuangxiong Lin <[email protected]>2023-02-27 08:36:45 +0800
commit5dba1d295ab526fbb39f47676a47c1a45aecde49 (patch)
tree4a3f3d1f03bddb0161ef879c4dd390968e42e1dc
parented21dbdb5954e8b6327747686022b87f9ae57cfd (diff)
downloaddotfiles-5dba1d295ab526fbb39f47676a47c1a45aecde49.tar.gz
dotfiles-5dba1d295ab526fbb39f47676a47c1a45aecde49.tar.bz2
dotfiles-5dba1d295ab526fbb39f47676a47c1a45aecde49.zip
Update macos config
-rw-r--r--.macos3
-rw-r--r--.zshrc3
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