fix(fzf): run command will change shell-integration behaviour

This commit is contained in:
js0ny 2025-04-10 01:53:54 +01:00
parent dae3143f86
commit 5ddef67714
3 changed files with 14 additions and 12 deletions

View file

@ -1,10 +1,10 @@
# --preview 'bat --color=always --style=numbers {}' # --preview 'bat --color=always --style=numbers {}'
--bind alt-n:preview-down,alt-e:preview-up # --bind alt-n:preview-down,alt-e:preview-up
--bind ctrl-e:up # --bind ctrl-e:up
--bind alt-p:toggle-preview # --bind alt-p:toggle-preview
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 # --color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8
--color=fg:#cdd6f4,header:#f38ba8,info:#f5c2e7,pointer:#f5e0dc # --color=fg:#cdd6f4,header:#f38ba8,info:#f5c2e7,pointer:#f5e0dc
--color=marker:#b4befe,fg+:#cdd6f4,prompt:#f5c2e7,hl+:#f38ba8 # --color=marker:#b4befe,fg+:#cdd6f4,prompt:#f5c2e7,hl+:#f38ba8
--color=selected-bg:#45475a # --color=selected-bg:#45475a
--color=border:#313244,label:#cdd6f4 # --color=border:#313244,label:#cdd6f4
#

View file

@ -79,3 +79,4 @@ map ctrl+shift+enter toggle_layout stack
# }}} # }}}
shell fish

View file

@ -139,9 +139,10 @@ if command -v emacs >/dev/null; then
export SPACEMACSDIR="$XDG_CONFIG_HOME"/spacemacs export SPACEMACSDIR="$XDG_CONFIG_HOME"/spacemacs
fi fi
# Fzf # Fzf
if command -v fzf > /dev/null; then # This will make shell integration buggy
export FZF_DEFAULT_OPTS_FILE="$HOME/.dotfiles/common/fzfrc" # if command -v fzf > /dev/null; then
fi # export FZF_DEFAULT_OPTS_FILE="$HOME/.dotfiles/common/fzfrc"
# fi
# tldr # tldr
# Works only with C client (did not verify) # Works only with C client (did not verify)
if command -v tldr >/dev/null; then if command -v tldr >/dev/null; then