diff options
author | Guangxiong Lin <[email protected]> | 2023-02-27 08:36:30 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-02-27 08:36:45 +0800 |
commit | 5dba1d295ab526fbb39f47676a47c1a45aecde49 (patch) | |
tree | 4a3f3d1f03bddb0161ef879c4dd390968e42e1dc | |
parent | ed21dbdb5954e8b6327747686022b87f9ae57cfd (diff) | |
download | dotfiles-5dba1d295ab526fbb39f47676a47c1a45aecde49.tar.gz dotfiles-5dba1d295ab526fbb39f47676a47c1a45aecde49.tar.bz2 dotfiles-5dba1d295ab526fbb39f47676a47c1a45aecde49.zip |
Update macos config
-rw-r--r-- | .macos | 3 | ||||
-rw-r--r-- | .zshrc | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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' @@ -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 |