-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_zshrc
More file actions
38 lines (29 loc) · 1.18 KB
/
dot_zshrc
File metadata and controls
38 lines (29 loc) · 1.18 KB
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
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_SPACE
setopt HIST_FIND_NO_DUPS
setopt HIST_SAVE_NO_DUPS
# Raise file descriptor limit
ulimit -n 8192
source $POWERLINE_CONFIG_HOME/promptline.sh # 7ms
source $FZF_CONFIG_HOME/fzf.zsh
#source $ZSH_COMPLETION_HOME/git-completion.bash
#source $ZSH_COMPLETION_HOME/git-completion.zsh
source $ZSH_COMPLETION_HOME/history-substring-search.zsh
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
alias vim="nvim"
alias vi="nvim"
alias vd="vd $VISIDATA_DEFAULT_OPTS"
zstyle ':completion:*' menu select
#zstyle ':completion:*:*:git:*' script ~/.git-completion.bash
# `compinit` scans $fpath, so do this before calling it.
fpath=(~/.zsh/functions $fpath)
autoload -Uz compinit && compinit
source ~/.config/fzf/git_complete.zsh
source ~/.config/fzf/gh_complete.zsh
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh ] && source "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh
[ -f "${ASDF_HOME:-$HOME/.asdf}"/plugins/java/set-java-home.zsh ] && source "${ASDF_HOME:-$HOME/.asdf}"/plugins/java/set-java-home.zsh
export JRE_HOME=$JAVA_HOME
eval "$(direnv hook zsh)"