1
Nushell 0.116.1 (www.nushell.sh)
submitted 1 month ago by to c/nushell@programming.dev
 
 

Today, we're releasing version 0.116.1 of Nu. This patch release improves TUI widgets with live stream updates, customizable borders and titles, and more reliable pane resizing, while fixing completions and refining startup-time reporting.

2
 
 

Today, we're releasing version 0.116.0 of Nu. This release brings a major custom completion rework, new tui commands for building terminal interfaces, interactive debugging, more tutor lessons, and a faster shell.

3
 
 

cross-posted from: https://lemmy.world/post/48010802

I created a simple Nushell script that will always disable the default/internal monitor(s) on your laptop or external display when using AR glasses. I find this useful for when using AR glasses such as the XReal One which allows you to change the mode from regular mode to ultra-wide mode and when doing this, it will act as your unplugging the XReal ones and plugging in XReal one again in a new mode, causing the other display to become enabled.

To keep the laptop display always off, weather the laptop lid is either closed or open, this simple Nushell script will always disable the screen every X seconds (You can change it by changing the wait constant)

Simply copy this script and create a new Nushell script such as disable-displays.nu, add it to your startup applications with the command of nu /path/to/disable-displays.nu and it will run in the background. You will need to run xrandr command with all of your displays enabled to get the names of the displays and change the constants values in the script accordingly.

NOTE: This script may not work with a full Wayland setup and may only work on X11.

Enjoy

# RUN xrandr TO GET THE NAMES OF THE DISPLAYS AND SET THE VARIABLES TO THESE NAMES
const ar_glasses_display = 'USB-C-0'
const displays = [
    'eDP',
    'HDMI-0'
]

const wait = 5

def is-ar-glasses-connected [] {
    return (xrandr | str contains $"($ar_glasses_display) connected")
}

def disable-display [display: string] {
    xrandr --output $display --off
}

def enable-display [display: string] {
    xrandr --output $display --auto
}

loop {
    if (is-ar-glasses-connected) {
        for current_display in $displays {
            disable-display $current_display
        }
    } else {
        for current_display in $displays {
            enable-display $current_display
        }
    }

    sleep ($wait * 1sec)
}
4
 
 

To be able to run Nushell scripts from your File Manager and have the terminal window of the running script not close when the script is finished executing or if the scripts exits, you can use these instructions to achieve this.

This example is on Linux Mint using Nemo as a file manager and GNOME Terminal as a terminal app.

  • Create the following script on your system and store the file where ever you like...

run-in-terminal.nu

def run-in-terminal [code: string] {
    # Using GNOME Terminal
    gnome-terminal -- nu -c ($code)
}

# The Nushell code that runs in the terminal
def get-terminal-code [script: string] {
    return $"
        try {
            nu ($script)

            print ''
            print ''
            print ''
            print 'Script finished executing'
        } catch {
            print ''
            print ''
            print ''
            print 'Script failed executing'
        }

        print ''

        # Must press enter to close terminal window
        input 'Press Enter to exit'
    "
}

def main [script:string] {
    run-in-terminal (get-terminal-code $script)
}
  • Create the Nemo action file and in the file, replace /path/to/run-in-terminal.nu with the path to the run-in-terminal.nu file...

~/.local/share/nemo/actions/nushell.nemo_action

[Nemo Action]
Name=Run in Terminal
Comment=Execute script in Terminal
Exec=nu /path/to/run-in-terminal.nu %F
Icon-Name=terminal
Selection=Single
Extensions=nu;

Now simply right click on any Nushell script file (.nu) in Nemo and you will see an option Run In Terminal.

5
Nushell 0.112.1 (www.nushell.sh)
submitted 6 months ago by to c/nushell@programming.dev
 
 

Today, we're releasing version 0.112.1 of Nu. This release adds structured markdown parsing with from md , a new % sigil to explicitly call internal commands, and a bunch of new config options to better shape Nu to your workflow, along with improvements to type checking for cell paths.

Full announcement: https://www.nushell.sh/blog/2026-04-11-nushell_v0_112_1.html

6
Nushell 0.110.0 (www.nushell.sh)
submitted 9 months ago by to c/nushell@programming.dev
 
 

Today, we're releasing version 0.110.0 of Nu. This release adds a let pipeline command, an unlet command, improvements to the Polars plugin, improvements to explore, and faster ls on Windows.

7
submitted 9 months ago by to c/nushell@programming.dev
8
submitted 10 months ago by to c/nushell@programming.dev
9
submitted 10 months ago by to c/nushell@programming.dev
10
submitted 10 months ago by to c/nushell@programming.dev
11
submitted 10 months ago by to c/nushell@programming.dev
12
Nushell 0.109.1 (www.nushell.sh)
submitted 11 months ago by to c/nushell@programming.dev
13
submitted 11 months ago by to c/nushell@programming.dev
14
Nushell 0.109.0 (www.nushell.sh)
submitted 11 months ago by to c/nushell@programming.dev
15
Nushell 0.108.0 (www.nushell.sh)
submitted 1 year ago by to c/nushell@programming.dev
16
Nushell 0.107.0 (www.nushell.sh)
submitted 1 year ago by to c/nushell@programming.dev
17