Skip to content

Commit

Permalink
Fix bug where ansi.sh overwrites env var instead of appending (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden authored Nov 17, 2024
1 parent 812041a commit 7646a7e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ansi/ansi.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/usr/bin/env sh
# Name: ANSI passthrough
# Author: Tinted Theming (https://github.com/tinted-theming)
# Description: This adds styling using the terminal's 16 ANSI colors
# Description: Adds fzf styling using the terminal's 16 ANSI colors

export FZF_DEFAULT_OPTS=" \
--color=bg:0,fg:7,hl:3\
--color=bg+:8,fg+:7,hl+:11\
--color=info:3,border:3,prompt:4\
--color=pointer:0,marker:9,spinner:9,header:1"
export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\
" --color=bg:0,fg:7,hl:3"\
" --color=bg+:8,fg+:7,hl+:11"\
" --color=info:3,border:3,prompt:4"\
" --color=pointer:0,marker:9,spinner:9,header:1"

0 comments on commit 7646a7e

Please sign in to comment.