-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
40 lines (29 loc) · 999 Bytes
/
.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
#!/usr/bin/env zsh
# navigation
source "${DOTFILES}/zsh/navigation.zsh"
# history
source "${DOTFILES}/zsh/history.zsh"
# aliases
source "${DOTFILES}/zsh/aliases.zsh"
# key bindings
source "${DOTFILES}/zsh/key-bindings.zsh"
# completion
if type brew &>/dev/null; then
FPATH="$(brew --prefix)/share/zsh-completions:${FPATH}"
autoload -Uz compinit
compinit -i
fi
# prompt
eval "$(starship init zsh)"
# fzf
source <(fzf --zsh)
# auto suggestions
source "$(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
# syntax highlighting
source "$(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
# google cloud sdk
source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
# tabtab source for packages
# uninstall by removing these lines
[[ -f ~/.config/tabtab/zsh/__tabtab.zsh ]] && . ~/.config/tabtab/zsh/__tabtab.zsh || true