From ba7615397e9910225d4beeb19d836782fbd03196 Mon Sep 17 00:00:00 2001 From: Scott Carroll Date: Mon, 15 Sep 2025 10:49:20 +0100 Subject: [PATCH] Disable broken fzf history for Ubuntu 22.04 --- bashprofile/.bashrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bashprofile/.bashrc b/bashprofile/.bashrc index fbce86e..ae03d43 100644 --- a/bashprofile/.bashrc +++ b/bashprofile/.bashrc @@ -120,9 +120,12 @@ if [ -f ~/.bash_aliases-local ]; then . ~/.bash_aliases-local fi -. "$HOME/.bash-profile.d/fzf-completion.bash" -. "$HOME/.bash-profile.d/fzf-key-bindings.bash" -. "$HOME/.bash-profile.d/00-fzf-include-dotfiles-exclude-git.bash" +if ! lsb_release -r | grep 22.04 +then + . "$HOME/.bash-profile.d/fzf-completion.bash" + . "$HOME/.bash-profile.d/fzf-key-bindings.bash" + . "$HOME/.bash-profile.d/00-fzf-include-dotfiles-exclude-git.bash" +fi eval "$("$HOME/.dotfiles/starship-$(uname -m)" init bash)"