diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-09-14 15:48:15 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-09-14 15:48:15 -0500 |
commit | 41ab0aa846c140777d380bf07e448a02477e7b9b (patch) | |
tree | 311934c298b5984fda1ba66fe81111a2119b0c37 /sh | |
parent | 1bd0f4b7e95fc8f054115adce62f1a1fd3a6ea7a (diff) |
fix(tmux): remove blankline in sessionizer and fix preview command
Diffstat (limited to 'sh')
-rw-r--r-- | sh/.profile | 4 |
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" |