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).
This commit is contained in:
Cruz Fernandez 2022-10-21 13:11:52 -03:00 committed by GitHub
commit f917d2169a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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