feat(zsh): add homebrew shellenv to zsh
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
|
||||
# Setting homebrew shellenv
|
||||
[[ ("$(uname)" = "Darwin") && -d "/opt/homebrew" ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
@@ -114,6 +118,9 @@ source $ZSH/oh-my-zsh.sh
|
||||
# GHQ and FZF
|
||||
alias ghqcd="cd \$(ghq list --full-path | fzf)"
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# OS SPECIFIC SETTINGS
|
||||
case "$(uname)" in
|
||||
Darwin)
|
||||
@@ -121,5 +128,3 @@ Darwin)
|
||||
;;
|
||||
esac
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
Reference in New Issue
Block a user