updated stuff

This commit is contained in:
Nikolas Weger 2019-11-18 22:40:23 +01:00
parent c427c918d4
commit fa06d6afcc
11 changed files with 34 additions and 2115 deletions

View file

@ -1,19 +1,27 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block, everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
source "$ZDOTDIR/export.zsh"
source "$ZDOTDIR/history.zsh"
source "$ZDOTDIR/zplugin.zsh"
source "$ZDOTDIR/libraries/export.zsh"
source "$ZDOTDIR/libraries/dircolor.zsh"
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
autoload -Uz compinit
if [[ -n $HOME/.cache/zsh/compdump(#qN.mh+24) ]]; then
compinit -d $HOME/.cache/zsh/compdump
else
compinit -d $HOME/.cache/zsh/compdump -C
fi
for file in $ZDOTDIR/libraries/source/*.zsh; do source "$file"; done
for file in $ZDOTDIR/libraries/plugins/*.zsh; do source "$file"; done
source "/usr/share/fzf/completion.zsh"
source "/usr/share/fzf/key-bindings.zsh"
source "/usr/share/doc/pkgfile/command-not-found.zsh"
for file in $ZDOTDIR/functions/*.zsh; do source "$file"; done
# Use lf to switch directories and bind it to ctrl-o
lfcd () {
tmp="$(mktemp)"
@ -26,5 +34,6 @@ lfcd () {
}
bindkey -s '^o' 'lfcd\n'
# To customize prompt, run "p10k configure" or edit $ZDOTDIR/.p10k.zsh
[[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh