-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
66 lines (55 loc) · 1.4 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
export DOTFILES=$HOME/dotfiles
export TERM="xterm-256color"
export EDITOR="nvim"
export PATH=$PATH:$HOME/bin # manually installed
export PATH=$PATH:$HOME/go/bin # golang
if [[ $OSTYPE == darwin* ]]; then # mac stuff
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
eval "$(mise activate zsh)"
### antigen ###
source $HOME/.antigen.zsh
antigen use oh-my-zsh
antigen bundle wd
antigen bundle git
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search
antigen theme denysdovhan/spaceship-prompt
antigen apply
### end antigen ###
### zsh theme ###
SPACESHIP_PROMPT_ORDER=(
time
user
dir
host
package
venv
exec_time
line_sep
jobs
exit_code
char
)
SPACESHIP_RPROMPT_ORDER=(
aws
git
)
SPACESHIP_PROMPT_ADD_NEWLINE="true"
SPACESHIP_PROMPT_SEPARATE_LINE="false"
SPACESHIP_CHAR_SYMBOL="➜ "
SPACESHIP_CHAR_SYMBOL_ROOT=$SPACESHIP_CHAR_SYMBOL
SPACESHIP_CHAR_COLOR_SUCCESS="green"
SPACESHIP_CHAR_COLOR_FAILURE="red"
SPACESHIP_CHAR_COLOR_SECONDARY="yellow"
SPACESHIP_USER_SHOW="needed"
SPACESHIP_HOST_PREFIX="@"
### end zsh theme ###
# completion options
HYPHEN_INSENSITIVE="true"
COMPLETION_WAITING_DOTS="true"
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=25
[ -f $DOTFILES/aliases ] && source $DOTFILES/aliases
[ -f $DOTFILES/functions ] && source $DOTFILES/functions
[ -f $DOTFILES/amzn-zshrc ] && source $DOTFILES/amzn-zshrc