dotfiles/zsh/zshrc

27 lines
789 B
Bash
Raw Normal View History

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
2020-10-01 17:06:17 +02:00
bindkey -e
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 17:08:11 +02:00
export FZF_DEFAULT_COMMAND='fd -H'
export FZF_CTRL_T_COMMAND='fd -H'
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-02 23:32:13 +02:00
export FZF_CTRL_R_OPTS="-e --layout=reverse --previev=''"
2020-03-03 12:46:21 +01:00
_fzf_compgen_path() {
2020-10-01 17:08:11 +02:00
fd -H . "$1"
2020-03-03 12:46:21 +01:00
}
_fzf_compgen_dir() {
2020-10-01 17:08:11 +02:00
fd -H --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