-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_evals.tmpl
More file actions
48 lines (31 loc) · 1.15 KB
/
dot_evals.tmpl
File metadata and controls
48 lines (31 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{{- if eq .chezmoi.os "darwin" -}}
if [ -f "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
if command -v zoxide &> /dev/null; then
eval "$(zoxide init zsh)"
fi
if [ -f "$HOME/.atuin/bin/env" ]; then
. "$HOME/.atuin/bin/env"
fi
if command -v atuin &> /dev/null; then
eval "$(atuin init zsh --disable-up-arrow)"
fi
if command -v direnv &> /dev/null; then
eval "$(direnv hook zsh)"
fi
-source ~/.orbstack/shell/init.zsh 2>/dev/null || :
# 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.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
POWERLEVEL10K_PATH="$HOME/powerlevel10k/powerlevel10k.zsh-theme"
if [ -f "$POWERLEVEL10K_PATH" ]; then
source "$POWERLEVEL10K_PATH"
fi
unset POWERLEVEL10K_PATH
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
{{- end -}}