export old-alias for core

Define an alias and export it from a module.

Signature

> export old-alias (name) (initial_value)

Parameters

  • name: name of the alias
  • initial_value: equals sign followed by value

Notes

This command is a parser keyword. For details, check: https://www.nushell.sh/book/thinking_in_nu.html

Examples

export an alias of ll to ls -l, from a module

> export old-alias ll = ls -l