From f917d2169afdec623f5b32723d93bfd91d34b92f Mon Sep 17 00:00:00 2001 From: Cruz Fernandez Date: Fri, 21 Oct 2022 13:11:52 -0300 Subject: [PATCH] Fix for VSCode, fish and byobu installations I've detected on my local installation that this line of code is breaking when my VSCode startups up from the Unity bar (or Gnome Dock). --- usr/bin/byobu-launcher-install.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/bin/byobu-launcher-install.in b/usr/bin/byobu-launcher-install.in index b607639a..a73db22f 100755 --- a/usr/bin/byobu-launcher-install.in +++ b/usr/bin/byobu-launcher-install.in @@ -49,7 +49,9 @@ install_launcher() { install_launcher_fish() { $PKG-launcher-uninstall "$1" || true - printf "status --is-login; and status --is-interactive; and exec byobu-launcher" >> "$1" + printf "if not set -q VSCODE_CWD" >> "$1" + printf " status --is-login; and status --is-interactive; and exec byobu-launcher" >> "$1" + printf "end" >> "$1" } # Sanitize the environment