summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-07-18 08:01:39 -0700
committerxyz <gky44px1999@gmail.com>2021-07-18 08:01:39 -0700
commit255a14c9efcd8250b1cc1f09059ba17b5a16dd84 (patch)
tree4c0f7164dcb920f1002f7fa884c5a27a4ee8e46c /.bash_profile
parent422c7e5c894e09e1e8ad62432bf45b366a4408d7 (diff)
fzf and reorganize env. var.
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile14
1 files changed, 10 insertions, 4 deletions
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"