From 1608291f1ea58f93072ec75ee74b5c411ee1c31e Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Wed, 11 Dec 2019 15:17:14 +0100 Subject: [PATCH] updated stuff --- zsh/.zshrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 647c2ba..4d6c69c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -5,7 +5,7 @@ fi source $ZDOTDIR/exports.zsh source $ZDOTDIR/dircolor.zsh -if [[ $(hostname) == "megumi" || $(hostname) == "sayaka" ]]; then +if [[ $(grep -E "^ID" /etc/*release | cut -d= -f2) == "arch" ]]; then source $share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source $share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme else @@ -18,8 +18,11 @@ if [[ -n $HOME/.cache/zsh/compdump(#qN.mh+24) ]]; then compinit -d $HOME/.cache/ for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done -source $fzf/completion.zsh -source $fzf/key-bindings.zsh +if [[ $(grep -E "^ID" /etc/*release | cut -d= -f2) == "arch" ]]; then + source $fzf/completion.zsh + source $fzf/key-bindings.zsh +fi + source $share/doc/pkgfile/command-not-found.zsh source $ZDOTDIR/tmux/tmux.zsh