Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information
f917d21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using printf, you have to supply your own newlines with \n (consider the install_launcher command just above). Without newlines, you end up with this:
if not set -q VSCODE_CWD status --is-login; and status --is-interactive; and exec byobu-launcherend
which is not valid fish syntax. Alternately, adding semicolons to yieldif not set -q VSCODE_CWD; status --is-login; and status --is-interactive; and exec byobu-launcher; end
would also be valid.f917d21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, just committed a fix.