-
Notifications
You must be signed in to change notification settings - Fork 8
/
zshrc
43 lines (33 loc) · 934 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
41
42
43
# Where are my dotfiles
export DOTFILES=~/dotfiles
# Setup environment, common to both bash and zsh
[ -f $DOTFILES/environment.sh ] && . $DOTFILES/environment.sh
setopt NO_BG_NICE
setopt NO_HUP
setopt NO_LIST_BEEP
setopt LOCAL_OPTIONS
setopt LOCAL_TRAPS
#setopt IGNORE_EOF
setopt PROMPT_SUBST
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
# history
setopt HIST_VERIFY
setopt EXTENDED_HISTORY
setopt HIST_REDUCE_BLANKS
setopt SHARE_HISTORY
setopt HIST_IGNORE_ALL_DUPS
setopt INC_APPEND_HISTORY
setopt APPEND_HISTORY
setopt COMPLETE_ALIASES
[ -f $DOTFILES/zsh_prompt ] && . $DOTFILES/zsh_prompt
# FZF
if [ -f ~/.fzf.zsh ]; then
. ~/.fzf.zsh
fi
fpath=(/usr/local/share/zsh-completions $fpath)
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/Users/rogandhi/.sdkman"
[[ -s "/Users/rogandhi/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/rogandhi/.sdkman/bin/sdkman-init.sh"
bindkey -v