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-02-01 17:58:00 +01:00
|
|
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
2020-10-01 15:42:36 +02:00
|
|
|
export FZF_DEFAULT_COMMAND='fd -H -c never'
|
|
|
|
export FZF_CTRL_T_COMMAND='fd -H -c never'
|
2020-10-01 17:04:41 +02:00
|
|
|
export FZF_DEFAULT_OPTS="-e --multi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=Monokai\ Extended {}'"
|
2020-10-01 15:33:31 +02:00
|
|
|
export FZF_CTRL_R_OPTS="-e --layout=reverse"
|
2020-03-03 12:46:21 +01:00
|
|
|
_fzf_compgen_path() {
|
2020-10-01 17:04:41 +02:00
|
|
|
fd -H -c never. "$1"
|
2020-03-03 12:46:21 +01:00
|
|
|
}
|
|
|
|
_fzf_compgen_dir() {
|
2020-10-01 17:04:41 +02:00
|
|
|
fd -H -c never--type d . "$1"
|
2020-03-03 12:46:21 +01:00
|
|
|
}
|
2020-02-01 17:58:00 +01:00
|
|
|
|
2020-09-22 23:03:51 +02:00
|
|
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
|
|
|
source ~/.dotfiles/zsh/p10k.zsh
|
|
|
|
|
2020-02-02 19:51:12 +01:00
|
|
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|