From f70ceede790fd7efd2fc6658f46a69f092554bd0 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Thu, 30 Jan 2020 11:37:07 +0100 Subject: [PATCH] updated stuff --- .gitignore | 1 + zsh/.zshrc | 21 --------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 3cc6e50..6422a45 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ zsh/.localrc.zsh +zsh/.zcompcache diff --git a/zsh/.zshrc b/zsh/.zshrc index e3baed3..c453310 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -20,27 +20,6 @@ bashcompinit for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done -if [[ $os == "arch" ]]; then - fzfComp="/usr/share/fzf/completion.zsh" - fzfKeyb="/usr/share/fzf/key-bindings.zsh" - if [[ $(hostname) == "megumi" ]]; then - export path=($path /snap/bin) - fi -fi - -if [[ $os == "debian" || $os == "ubuntu" ]]; then - fzfComp="/usr/share/doc/fzf/examples/completion.zsh" - fzfKeyb="/usr/share/doc/fzf/examples/key-bindings.zsh" -fi - -if [[ $os == "fedora" ]]; then - fzfComp="" - fzfKeyb="/usr/share/fzf/shell/key-bindings.zsh" -fi - -source $fzfComp &>/dev/null -source $fzfKeyb - source $ZDOTDIR/tmux/tmux.zsh [[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh