Configure fzf & fd

This commit is contained in:
xerus2000 2020-06-08 11:51:32 +02:00
parent d1aeb2535b
commit 7006eaf7ea
3 changed files with 15 additions and 8 deletions

2
.config/fd/ignore Normal file
View File

@ -0,0 +1,2 @@
.sync/
.Trash-1000/

View File

@ -1 +1 @@
daten daten/

View File

@ -1,11 +1,16 @@
. ~/.profile . ~/.profile
# red stderr
export EDITOR=/usr/bin/nvim export LD_PRELOAD="/opt/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"
export MANPAGER="sh -c 'col -bx | bat -l man -p'" # zsh config
export PASSWORD_STORE_DIR="$HOME/.local/share/pass"
export TIMEWARRIORDB="$HOME/.local/share/timewarrior"
export ZDOTDIR="$HOME/.config/zsh" export ZDOTDIR="$HOME/.config/zsh"
export _Z_DATA="$HOME/.local/share/zsh/z" export _Z_DATA="$HOME/.local/share/zsh/z"
export HISTFILE="$HOME/.local/share/zsh/history" 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"