Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oh-my-posh on NixOS fails with Nu shell #5230

Closed
1 task done
aspauldingcode opened this issue Jul 9, 2024 · 2 comments
Closed
1 task done

oh-my-posh on NixOS fails with Nu shell #5230

aspauldingcode opened this issue Jul 9, 2024 · 2 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@aspauldingcode
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

A bug happened!

When enabling nixos oh-my-posh Nu shell integration.

The following config breaks it:
oh-my-posh.enableNushellIntegration = true;

Versions:
NixOS: 24.05
nixpkgs: 24.05 stable
oh-my-posh: 19.29.0

Using Alacritty Terminal.

Theme

default.

What OS are you seeing the problem on?

Linux, macOS

Which shell are you using?

nu

Log output

 alex  nu
Error: nu::shell::column_not_found

  × Cannot find column
   ╭─[/home/alex/.cache/oh-my-posh/init.nu:1:16]
 1 │ $env.config = ($env.config | upsert render_right_prompt_on_last_line true)
   ·                ──┬─ ───┬──
   ·                  │     ╰── cannot find column 'config'
   ·                  ╰── value originates here
 2 │
   ╰────

     __  ,
 .--()°'.' Welcome to Nushell,
'|, . ,'   based on the nu language,
 !_-(_\    where all data is structured!

Please join our Discord community at https://discord.gg/NtAbbGn
Our GitHub repository is at https://github.com/nushell/nushell
Our Documentation is located at https://nushell.sh
Tweet us at @nu_shell
Learn how to remove this at: https://nushell.sh/book/configuration.html#remove-welcome-message

It's been this long since Nushell's first commit:
5yrs 1month 29days 7hrs 16mins 58secs 608ms 227µs 603ns

Startup Time: 29ms 135µs 106ns

/home/alex>                                                                                                       07/08/2024 06:16:10 PM
@aspauldingcode aspauldingcode added the 🐛 bug Something isn't working label Jul 9, 2024
@JanDeDobbeleer
Copy link
Owner

@aspauldingcode confirmed, nushell adjusted something on their end.

@JanDeDobbeleer
Copy link
Owner

relates to nushell/nushell#13071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants