2020-01-10 16:30:27 +01:00
|
|
|
autoload -U compinit && compinit
|
2020-01-10 17:56:45 +01:00
|
|
|
autoload -U promptinit && promptinit
|
2020-01-10 23:06:53 +01:00
|
|
|
|
|
|
|
setopt correct_all
|
|
|
|
zstyle ':completion:*' menu select
|
|
|
|
|
2020-02-02 19:51:12 +01:00
|
|
|
export CLICOLOR=1
|
2020-01-10 16:11:15 +01:00
|
|
|
alias ll='ls -lh'
|
2020-01-10 23:06:53 +01:00
|
|
|
|
2020-01-10 16:11:15 +01:00
|
|
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
2020-08-19 12:45:46 +02:00
|
|
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
2020-02-01 17:58:00 +01:00
|
|
|
|
|
|
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
2020-02-05 15:51:46 +01:00
|
|
|
export FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
|
|
|
export FZF_CTRL_T_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
2020-03-03 12:46:21 +01:00
|
|
|
export FZF_DEFAULT_OPTS="--cycle -e --layout=reverse --height=40% --preview='bat --color=always --tabs=2 --style=plain --theme=\"Monokai Extended\" {}'"
|
|
|
|
export FZF_CTRL_R_OPTS="--cycle -e --layout=reverse --height=40% --preview=''"
|
|
|
|
_fzf_compgen_path() {
|
|
|
|
fd -H . "$1"
|
|
|
|
}
|
|
|
|
_fzf_compgen_dir() {
|
|
|
|
fd -H --type d . "$1"
|
|
|
|
}
|
2020-02-01 17:58:00 +01:00
|
|
|
|
2020-08-09 23:44:31 +02:00
|
|
|
eval "$(starship init zsh)"
|
2020-02-02 19:51:12 +01:00
|
|
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|