commandline edit

For core.

Modify the current command line input buffer.

Command Type

built-in

Signature

> commandline edit {flags} (str)

Flags

  • --append, -a: Appends the string to the end of the buffer.
  • --insert, -i: Inserts the string into the buffer at the cursor position.
  • --replace, -r: Replaces the current contents of the buffer (default).
  • --accept, -A: Immediately executes the result after edit.

Parameters

  • str: The string to perform the operation with.

Input/output types:

input output
nothing nothing

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.