Browse Source

ix: use in preview bat when available

master
DanielFGray 8 months ago
parent
commit
6e5688bd35
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ix

+ 1
- 1
ix View File

@@ -93,7 +93,7 @@ get_pastes() {

list_pastes() {
local highlighter
highlighter=$(select_from 'highlight -q --force -O ansi' pygmentize cat)
highlighter=$(select_from 'bat --color always --style numbers,header,snip' 'highlight -q --force -O ansi' pygmentize cat)
url=$(get_pastes "$(get_user_name)" | fzf \
--inline-info --cycle \
--header='Ctrl-E = edit; Ctrl-V = view; Ctrl-D = delete' \

Loading…
Cancel
Save