-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_zshrc.tmpl
61 lines (53 loc) · 1.05 KB
/
dot_zshrc.tmpl
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# ZSH_THEME="agnoster"
plugins=(
git
dotenv
macos
aws
github
poetry
sublime
vscode
dotenv
zsh-autosuggestions
zsh-syntax-highlighting
terraform
)
if [ -d "$HOME/.oh-my-zsh" ]; then
export ZSH="$HOME/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
else
echo "oh-my-zsh is not installed"
fi
#mise
if command -v mise > /dev/null 2>&1; then
export PATH="$HOME/.local/share/mise/shims:$PATH"
else
echo "mise is not installed"
fi
#starship
if command -v starship > /dev/null 2>&1; then
eval "$(starship init zsh)"
else
echo "starship is not installed"
fi
{{- if eq .chezmoi.os "darwin" }}
# make Homebrew’s completions available in zsh
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit
compinit
fi
{{- end }}
{{- if eq .chezmoi.os "linux" }}
if [ -d "/opt/nvim-linux64/bin" ];
then
export PATH="$PATH:/opt/nvim-linux64/bin"
else
echo "nvim-linux64 is not installed"
fi
{{- end }}
ZSH_DOTENV_PROMPT=always
export PATH="$PATH:/Users/adamtetz/.local/bin"
export TERM=xterm-256color