Skip to content

Commit

Permalink
fix(nushell): update syntax to for v0.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 authored and JanDeDobbeleer committed Apr 5, 2023
1 parent 9f5ff92 commit 7e04bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shell/scripts/omp.nu
Expand Up @@ -6,13 +6,13 @@ export-env {
# By default displays the right prompt on the first line
# making it annoying when you have a multiline prompt
# making the behavior different compared to other shells
let-env PROMPT_COMMAND_RIGHT = {''}
let-env PROMPT_COMMAND_RIGHT = ''
let-env POSH_SHELL_VERSION = (version | get version)

# PROMPTS
let-env PROMPT_MULTILINE_INDICATOR = (^::OMP:: print secondary $"--config=($env.POSH_THEME)" --shell=nu $"--shell-version=($env.POSH_SHELL_VERSION)")

let-env PROMPT_COMMAND = {
let-env PROMPT_COMMAND = { ||
# We have to do this because the initial value of `$env.CMD_DURATION_MS` is always `0823`,
# which is an official setting.
# See https://github.com/nushell/nushell/discussions/6402#discussioncomment-3466687.
Expand Down

0 comments on commit 7e04bdc

Please sign in to comment.