summaryrefslogtreecommitdiffstatshomepage
path: root/sh/.profile
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-09-26 15:06:54 -0500
committerToby Vincent <tobyv13@gmail.com>2022-09-26 15:06:54 -0500
commit4068974dc0987d8cfea574b4da6968d41447372c (patch)
treeb4ff6bfcb03302295c2fa57d472eb59ae0ec7b2d /sh/.profile
parente0d344a4e0c96a7d6b6a897255d5d82d8c71a214 (diff)
fix(sh): limit depth on fzf directory preview
Diffstat (limited to 'sh/.profile')
-rw-r--r--sh/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/.profile b/sh/.profile
index d38d091..0eacf74 100644
--- a/sh/.profile
+++ b/sh/.profile
@@ -42,7 +42,7 @@ export FZF_DEFAULT_OPTS='--bind ctrl-q:abort
--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 {} 2>/dev/null || cat {} 2>/dev/null ||
- exa --tree --icons --git-ignore {} 2>/dev/null || tree -C {} 2>/dev/null'
+ exa --tree --git-ignore --level=3 --icons {} 2>/dev/null || tree -C {} 2>/dev/null'
export PATH="$PATH:$HOME/.local/bin"