aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-03-23 22:40:14 +0100
committerMartin Polden <mpolden@mpolden.no>2023-03-23 22:40:14 +0100
commita7a9e669a435d8bb5715f4b1f7aea5cd2a7aa414 (patch)
tree70d2f757aa40be50e552e85c5be2842f88c0cbb3
parent16e6b332415400a0cfe336dab0b45f8acac49b4c (diff)
Revert "zsh: match fzf color to terminal theme"
This reverts commit c6a4db9c0fa321118ed91ef1f5c595e9ade136f4.
-rw-r--r--zshrc6
1 files changed, 1 insertions, 5 deletions
diff --git a/zshrc b/zshrc
index 54e6c57..b7c0a39 100644
--- a/zshrc
+++ b/zshrc
@@ -413,12 +413,8 @@ load-extension fzf-completion "/usr/share/zsh/site-functions/fzf" #
_history_widget="${$(bindkey '^R')[(ws: :)2]}"
function history-widget-with-reload {
- local opts=""
- if [[ "$VTERM_THEME" == "light" ]]; then
- opts="--color=light"
- fi
[[ -o sharehistory ]] && fc -RI
- FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS $opts" zle "$_history_widget"
+ zle "$_history_widget"
}
if zle -l "$_history_widget"; then