From 255a14c9efcd8250b1cc1f09059ba17b5a16dd84 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 18 Jul 2021 08:01:39 -0700 Subject: fzf and reorganize env. var. --- .bash_profile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index bf27796b..b6c966d1 100644 --- a/.bash_profile +++ b/.bash_profile @@ -7,16 +7,22 @@ export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" -export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" + +export PATH="$(find ~/.local/bin -type d -printf %p:)$PATH" +export HISTSIZE=1000 +export HISTFILESIZE=1000 + export MANPAGER="nvim +Man!" export EDITOR=nvim + +export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" #export QT_QPA_PLATFORMTHEME=qt5ct export QT_STYLE_OVERRIDE=kvantum -export PATH="$(find ~/.local/bin -type d -printf %p:)$PATH" -#export FZF_DEFAULT_COMMAND="fd --hidden --follow --exclude .git" +#export FZF_DEFAULT_COMMAND="fd --no-ignore --hidden --exclude .git" export FZF_DEFAULT_COMMAND="sudo find . -path '*/\.git' -prune -o -print" -export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" +#export FZF_CTRL_T_COMMAND="fd --absolute-path --no-ignore --hidden --exclude .git" +export FZF_CTRL_T_COMMAND="sudo find $(pwd) -path '*/\.git' -prune -o -print" export FZF_ALT_C_COMMAND="sudo find . -path '*/\.git' -prune -o -type d -print" export SDCV_PAGER="less --quit-if-one-screen -RX" -- cgit v1.2.3-70-g09d2