-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
42 lines (32 loc) · 1.02 KB
/
.zshrc
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
# ___ __
# /' _ `\ /'_ `\
# /\ \/\ \ /\ \L\ \ Niels Gerritsen
# \ \_\ \_\\ \____ \ https://nielsgerritsen.com
# \/_/\/_/ \/___L\ \ _______ https://github.com/ngerritsen/dotfiles
# /\____/ /\______\
# \_/__/ \/______/
# Zap
if ! [ -f $HOME/.local/share/zap/zap.zsh ]; then
zsh <(curl -s https://raw.githubusercontent.com/zap-zsh/zap/master/install.zsh) --branch release-v1 --keep
fi
source $HOME/.local/share/zap/zap.zsh
plug "zsh-users/zsh-autosuggestions"
plug "zap-zsh/supercharge"
plug "zap-zsh/zap-prompt"
plug "zsh-users/zsh-syntax-highlighting"
# Load and initialise completion system
autoload -Uz compinit
compinit
# Source config
alias src="source $HOME/.zshrc"
alias dev="pnpm install; nx auth; nx auth:prod; nx start frontend"
# Common
source $HOME/.commonrc
# Work
if [ -f $HOME/.workrc ]; then
source $HOME/.workrc
fi
# Vim mode
bindkey -v
# bun completions
[ -s "/Users/ngerritsen/.bun/_bun" ] && source "/Users/ngerritsen/.bun/_bun"