28 lines
710 B
Bash
28 lines
710 B
Bash
|
## Plugin manager
|
||
|
|
||
|
[ ! -d ${ZDOTDIR:-$HOME}/.antidote ] && git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-$HOME}/.antidote
|
||
|
|
||
|
source ${ZDOTDIR:-$HOME}/.antidote/antidote.zsh
|
||
|
antidote load ${ZDOTDIR:-$HOME}/zsh_plugins.txt
|
||
|
|
||
|
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
|
||
|
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
|
||
|
|
||
|
##
|
||
|
|
||
|
autoload -U compinit
|
||
|
compinit -C
|
||
|
zstyle ':completion:*' menu select
|
||
|
|
||
|
|
||
|
setopt appendhistory
|
||
|
setopt hist_ignore_all_dups
|
||
|
|
||
|
bindkey '^[[A' history-substring-search-up # or '\eOA'
|
||
|
bindkey '^[[B' history-substring-search-down # or '\eOB'
|
||
|
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
||
|
|
||
|
|
||
|
alias lf='lfrun'
|
||
|
alias ls='ls --color'
|