From 0cf2993d37e317a405114b78df6a5440eeb88bbb Mon Sep 17 00:00:00 2001 From: Taha <62564400+mt190502@users.noreply.github.com> Date: Sat, 15 Oct 2022 00:10:27 +0300 Subject: [PATCH] Fix distrobox prompt support (#351) * Fix distrobox prompt support * Fix distrobox prompt support * Fix distrobox prompt support * Fix distrobox prompt support * Fix distrobox prompt support * Fix distrobox prompt support * Simplify and format * Fix distrobox prompt support * Remove extraneous command Co-authored-by: Ilan Cosman --- functions/_tide_item_distrobox.fish | 2 +- functions/_tide_remove_unusable_items.fish | 2 ++ functions/tide/configure/configs/classic.fish | 2 +- functions/tide/configure/configs/lean.fish | 2 +- functions/tide/configure/configs/rainbow.fish | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/functions/_tide_item_distrobox.fish b/functions/_tide_item_distrobox.fish index 7ec873d..5e06a8b 100644 --- a/functions/_tide_item_distrobox.fish +++ b/functions/_tide_item_distrobox.fish @@ -1,4 +1,4 @@ function _tide_item_distrobox - test -e /run/.distroboxenv && + test -e /etc/profile.d/distrobox_profile.sh && test -e /run/.containerenv && _tide_print_item distrobox $tide_distrobox_icon' ' (string match -rg 'name="(.*)"'