From 1adf0f0a4aca7598439e0b4ab2a734fa8fc02857 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Tue, 20 Oct 2020 16:52:08 +0200 Subject: [PATCH] path to local configs --- install.sh | 2 +- zsh/zshrc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 75c8dc9..05cc0e9 100644 --- a/install.sh +++ b/install.sh @@ -37,7 +37,7 @@ ln -sf ~/.dotfiles/conf/tmux.conf ~/.tmux.conf ## zsh # cleaning -rm -rf ~/.zsh* ~/.zcompdump* ~/.config/zsh/ +rm -rf ~/.zsh* ~/.zcomp* ~/.config/zsh/ mkdir -p ~/.config/zsh/caches ~/.config/zsh/plugins ~/.config/zsh/themes # dependiences git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.config/zsh/plugins/zsh-autosuggestions diff --git a/zsh/zshrc b/zsh/zshrc index c26af73..62410c8 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -9,15 +9,15 @@ setopt inc_append_history setopt share_history [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -export FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.config/fdignore.local' -export FZF_CTRL_T_COMMAND='fd -H -L --ignore-file ~/.config/fdignore.local' +export FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.config/local.fdignore' +export FZF_CTRL_T_COMMAND='fd -H -L --ignore-file ~/.config/local.fdignore' export FZF_DEFAULT_OPTS="-e --multi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=gruvbox {}'" export FZF_CTRL_R_OPTS="-e --layout=reverse --preview=''" _fzf_compgen_path() { - fd -H -L --ignore-file ~/.config/fdignore.local . "$1" + fd -H -L --ignore-file ~/.config/local.fdignore . "$1" } _fzf_compgen_dir() { - fd -H -L --ignore-file ~/.config/fdignore.local --type d . "$1" + fd -H -L --ignore-file ~/.config/local.fdignore --type d . "$1" } source ~/.config/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh @@ -25,4 +25,4 @@ source ~/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.config/zsh/themes/powerlevel10k/powerlevel10k.zsh-theme source ~/.dotfiles/zsh/p10k.zsh -[ -e ~/.config/zsh/local.zsh ] && source ~/.config/zsh/local.zsh +[ -e ~/.config/local.zsh ] && source ~/.config/local.zsh