From 058c3a6435972dc93171d8a23d234d2c57fc769d Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Mon, 24 Feb 2025 11:12:14 -0600 Subject: [PATCH] Fixing minor bug with 'fzf' previews and shell-color-scripts. --- .config/fish/config.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index a618e96..ec14f77 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -236,7 +236,10 @@ alias mocp="bash -c mocp" ### RANDOM COLOR SCRIPT ### # Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts # Or install it from the Arch User Repository: shell-color-scripts -colorscript random +# The 'if' statement prevents colorscript from showing in 'fzf' previews. +if status is-interactive + colorscript random +fi ### SETTING THE STARSHIP PROMPT ### starship init fish | source