-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathzshrc
51 lines (36 loc) · 1.16 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
43
44
45
46
47
48
49
50
51
#! /usr/bin/env zsh
autoload -U promptinit
promptinit
source ~/.prompt2
bindkey -v
# Disable zsh autocorrect
autoload -Uz compinit
fpath=(/usr/local/share/zsh/site-functions $fpath)
fpath=(/usr/local/share/zsh-completions $fpath)
zmodload -i zsh/complist
setopt completeinword
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
compinit
set editing-mode vi
set blink-matching-paren on
source <(npm completion)
source <(ng completion script)
# Antigen, zsh plugins
source /opt/homebrew/share/antigen/antigen.zsh
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle mafredri/zsh-async@main
antigen bundle agkozak/zsh-z
antigen apply
zstyle ':notify:*' command-complete-timeout 5
zstyle ':notify:*' error-title "Fail"
zstyle ':notify:*' success-title "Success"
# zprof
# bun completions
[ -s "/Users/mhartington/.bun/_bun" ] && source "/Users/mhartington/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"