nushell: Discord Fails To Display Anything With Nushell

Describe the bug

Discord just has the background being displayed.

If you need anymore additional information I’ll be happy to provide it.

How to reproduce

Set nu as default shell using chsh -s /bin/nu 2. Log out and log back in 3. Launch discord 4. Has blank screen

Expected behavior

I expect nu to respect #!/usr/bin/env bash but it doesn’t seem to as if it just handed it to bash I would expect it to work idk if this isn’t apart of nu syntax but it would be awesome to both use discord with nu as my default shell.

Screenshots

With Bash: https://i.imgur.com/hzetF5Z.png With Nushell: https://i.imgur.com/N3ttcMi.png

Configuration

key value
version 0.61.0
branch
tag
short_commit 3783c19d
commit_hash 3783c19d02f4a3b2f35cd26b79daabcb70b04880
commit_date 2022-04-12 20:38:15 +00:00
build_os linux-x86_64
rust_version rustc 1.60.0 (Arch Linux rust 1:1.60.0-1)
cargo_version cargo 1.60.0
pkg_version 0.61.0
build_time 2022-04-12 23:20:08 +00:00
build_rust_channel release
features dataframe, default, trash, which, zip
installed_plugins

Additional context

Possible Failing Script: https://pastebin.com/7thJJf9n

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (2 by maintainers)

Most upvoted comments

@cararemixed - I’m wondering if some of the issues are coming from apps assuming they’re working with a bash or bash-like shell.

Yehuda had an issue with VSCode for wsl and fixed it using “the workaround is to not use chsh but instead hardcode it in the Terminal settings”.

Hopefully we can do a combination of fixing issues on our side as well as fixing issues in apps that assume functionality in the shell that it might not have.