aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/.profile')
-rw-r--r--sh/.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/.profile b/sh/.profile
index 09b8c0b..a24d610 100644
--- a/sh/.profile
+++ b/sh/.profile
@@ -39,8 +39,8 @@ export FZF_DEFAULT_OPTS='--bind ctrl-q:abort
--bind alt-down:half-page-down
--color fg:#ebdbb2,hl:#fabd2f,fg+:#ebdbb2,hl+:#fabd2f
--color info:#83a598,prompt:#bdae93,spinner:#fabd2f,pointer:#83a598,marker:#fe8019,header:#665c54'
-export FZF_PREVIEW_COMMAND='bat --style=numbers,changes --wrap never --color always {} || cat {} ||
- exa --tree --icons --git-ignore {} || tree -C {}'
+export FZF_PREVIEW_COMMAND='bat --style=numbers,changes --wrap never --color always {} 2>/dev/null || cat {} 2>/dev/null ||
+ exa --tree --icons --git-ignore {} 2>/dev/null || tree -C {} 2>/dev/null || printf %s\\n {}'
export PATH="$PATH:$HOME/.local/bin"