From 7006eaf7ea61fa3a2b34c77eb882453a0283ac10 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Mon, 8 Jun 2020 11:51:32 +0200 Subject: [PATCH] Configure fzf & fd --- .config/fd/ignore | 2 ++ .ignore | 2 +- .zprofile | 19 ++++++++++++------- 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 .config/fd/ignore diff --git a/.config/fd/ignore b/.config/fd/ignore new file mode 100644 index 0000000..dffcf88 --- /dev/null +++ b/.config/fd/ignore @@ -0,0 +1,2 @@ +.sync/ +.Trash-1000/ diff --git a/.ignore b/.ignore index e18345d..27ff9db 100644 --- a/.ignore +++ b/.ignore @@ -1 +1 @@ -daten +daten/ diff --git a/.zprofile b/.zprofile index 8f8cc5a..b600e9b 100644 --- a/.zprofile +++ b/.zprofile @@ -1,11 +1,16 @@ . ~/.profile - -export EDITOR=/usr/bin/nvim -export MANPAGER="sh -c 'col -bx | bat -l man -p'" - -export PASSWORD_STORE_DIR="$HOME/.local/share/pass" -export TIMEWARRIORDB="$HOME/.local/share/timewarrior" - +# red stderr +export LD_PRELOAD="/opt/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}" +# zsh config export ZDOTDIR="$HOME/.config/zsh" export _Z_DATA="$HOME/.local/share/zsh/z" export HISTFILE="$HOME/.local/share/zsh/history" +# programs +export EDITOR=/usr/bin/nvim +export MANPAGER="sh -c 'col -bx | bat -l man -p'" +export FZF_DEFAULT_COMMAND="fd --hidden" +export FZF_DEFAULT_OPTS="--select-1 --exit-0 --tiebreak=end,length --history=/var/tmp/fzf-history" +# adjust programs to use xdg +export PASSWORD_STORE_DIR="$HOME/.local/share/pass" +export TIMEWARRIORDB="$HOME/.local/share/timewarrior" +