Docs

Shell integration

NOBLE learns each pane’s working directory from OSC 7 / OSC 9;9, with no setup. That is what lets splits open in the current folder, sessions restore where you left off and git status refresh after every command.

Supported shells

ShellHow
PowerShell (Windows and Linux)Your existing prompt, oh-my-posh included, is wrapped to emit OSC 9;9.
cmd.exeA PROMPT that does the same, unless you already have one.
bash, zsh, fish (Git Bash too)Your own ~/.bashrc, .zshrc or config.fish loads first, then a small hook reports OSC 7 on every prompt. Starship, oh-my-zsh and friends keep working.
Anything elseAny shell whose prompt emits OSC 7 works too.

The hook scripts live in the data folder under shell/. To start a shell untouched, pass --norc (bash), -f (zsh) or --no-config (fish) in shell_args.

Which shell starts

With shell = "" NOBLE starts pwsh, then powershell, then cmd on Windows, and $SHELL elsewhere. Settings also offers Git Bash on Windows and pwsh and nu on Linux.

What a prompt tells NOBLE

Each prompt (OSC 7, OSC 9;9 or OSC 133) also means the previous command finished. NOBLE then:

Notifications: OSC 9 and OSC 777 notifications and the terminal bell mark a background tab with ◆.