-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_zshrc
More file actions
executable file
·76 lines (56 loc) · 1.26 KB
/
dot_zshrc
File metadata and controls
executable file
·76 lines (56 loc) · 1.26 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env zsh
export PATH="$PATH:/opt/homebrew/bin"
. ~/.dotfiles/environment.zsh
# oh-my-zsh options
HYPHEN_INSENSITIVE="true"
COMPLETION_WAITING_DOTS="true"
plugins=(
mise
docker
docker-compose
git
github
heroku
httpie
npm
rails
ruby
yarn
z
zsh-syntax-highlighting
)
if [ -d "$ZSH_CUSTOM/plugins/zsh-autosuggestions" ] ; then
plugins+=( zsh-autosuggestions )
fi
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
source $ZSH/oh-my-zsh.sh
# User configuration
if which chezmoi>/dev/null; then
export DOTFILES=~/.dotfiles
eval $(chezmoi completion zsh)
fi
alias cm=chezmoi
alias cma="chezmoi apply && source ~/.zshrc"
if which code >/dev/null; then
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
fi
#-tns-completion-
if [ -f ~/.tnsrc ]; then
source ~/.tnsrc
fi
if [ -d ~/.fastlane/bin ] ; then
export PATH="~/.fastlane/bin:$PATH"
fi
for f in ~/.dotfiles/**/config.zsh; do
source $f
done
if [ -f ~/.zshrc.local ]; then
source ~/.zshrc.local
fi
if [ -f ~/.fzf.zsh ]; then
source ~/.fzf.zsh
fi
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
source ~/.dotfiles/completions.zsh
export PATH="./bin:$HOME/.local/bin:$PATH"
eval "$(starship init zsh)"